code: private static File createTempFile(File baseFile) {
          File parentDirectory = baseFile.getParentFile();
          String filename = baseFile.getName();
          return new File(parentDirectory, '_' + filename);
      }
docs: Create a temporary File object. Prefix the name of the base file with an
  underscore.