public void export(final java.io.File exportLocation) {
    java.io.File targetFile = new java.io.File(exportLocation, getName());
    try {
      Files.copy(getInputStream(), targetFile.toPath());
    } catch (IOException e) {
      throw new InternalGemFireError("Could not export file " + getName(), e);
    }
  }
Export this to a {@link java.io.File}
geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/filesystem/File.java