private static boolean fileExists(Predicate<File> fileExistsPredicate, File f) {
    return null == fileExistsPredicate ? Files.exists(f.toPath()) : fileExistsPredicate.test(f);
  }
private static boolean fileExists(Predicate<File> fileExistsPredicate, File f)