code: public static String oneFromFile(File file,
                                       String ingestFormat,
                                       FedoraAPIAMTOM targetRepoAPIA,
                                       FedoraAPIMMTOM targetRepoAPIM,
                                       String logMessage) throws Exception {
          LAST_PATH = file.getPath();
          String pid =
                  AutoIngestor.ingestAndCommit(targetRepoAPIA,
                                               targetRepoAPIM,
                                               new FileInputStream(file),
                                               ingestFormat,
                                               getMessage(logMessage, file));
          return pid;
      }
docs: if logMessage is null, will use original path in logMessage