code: public void close() {
          checkOpen();
  
          open = false;
  
          for (Object arg : arguments.values()) {
              if (arg instanceof File) {
                  File file = (File) arg;
                  if (JournalHelper.isTempFile(file)) {
                      if (file.exists()) {
                          file.delete();
                      }
                  }
              }
          }
      }
docs: This should be called when usage of the object is complete, to clean up
  any temporary files that were created for the journal entry to use.