public static FileFinder find(File baseDirectory) {
        return new FileFinder(baseDirectory);
    }
Finds files or sub directories within a given base directory.

@param baseDirectory A path as {@link File} object to search within.
@return A {@link FileFinder} object to specify the search parameters using a builder
        pattern.
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/file/FileUtils.java