code: public File newStagingFile(String entryName, long modTime) {
          File file = new File(stagingDirectory, entryName);
          
          if (modTime != 0) {
              file.setLastModified(modTime);
          }
          
          file.getParentFile().mkdirs();
          return file;
      }
docs: Creates a new file in the staging directory. Ensures that all folders in the path are also
  created.
  
  @param entryName Entry name to create.
  @param modTime Modification timestamp for the new entry. If 0, defaults to the current time.
  @return the new file