code: public static List<File> listFiles(File[] directories, IOFileFilter fileFilter, IOFileFilter dirFilter) {
          List<File> files = new ArrayList<>();
          for (File directory : directories) {
              if (!directory.isDirectory()) {
                  continue;
              }
              Collection<File> filesInDirectory = FileUtils.listFiles(directory,
                      fileFilter,
                      dirFilter);
              files.addAll(filesInDirectory);
          }
          return files;
      }
docs: Returns list of files matches filters in specified directories
  
  @param directories which will using to find files
  @param fileFilter  file filter
  @param dirFilter   directory filter
  @return list of files matches filters in specified directories