public static FileFilter filesWithExtension(@NotNull String extension) {
    return pathname -> FileUtilRt.extensionEquals(pathname.getPath(), extension) && pathname.isFile();
  }
public static FileFilter filesWithExtension(@NotNull String extension)