public File getFile() {
            return file;
        }
The remove method of the {@link Iterator} is not implemented.

@see Iterator#remove()
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/file/FileFinderIterator.java