public static Transformer<File, String> getFileNameTransformer() {
    return File::getName;
  }
Returns a file to file name transformer.
geode-core/src/main/java/org/apache/geode/internal/util/TransformUtils.java