private static FileFilter createOrFilter(final List<? extends FileFilter> filters) {
    if (filters == null || filters.isEmpty()) return null;
    return pathname -> {
      for (FileFilter filter : filters) {
        if (filter.accept(pathname)) {
          return true;
        }
      }
      return false;
    };
  }
private static FileFilter createOrFilter(final List<? extends FileFilter> filters)