public void writeOperationsEngineFile(){
  makeBackupFile(defaultOperationsFilename());
  try {
    if (!checkFile(defaultOperationsFilename())) {
      java.io.File file=new java.io.File(defaultOperationsFilename());
      java.io.File parentDir=file.getParentFile();
      if (!parentDir.exists()) {
        if (!parentDir.mkdir()) {
          log.error("Directory wasn't created");
        }
      }
      if (file.createNewFile()) {
        log.debug("File created");
      }
    }
    writeFile(defaultOperationsFilename());
  }
 catch (  Exception e) {
    log.error("Exception while writing the new CSV operations file, may not be complete: " + e);
  }
}

public void writeOperationsEngineFile ( ) { makeBackupFile ( defaultOperationsFilename ( ) ) ; try { if ( ! checkFile ( defaultOperationsFilename ( ) ) ) { java . io . File file = new java . io . File ( defaultOperationsFilename ( ) ) ; java . io . File parentDir = file . getParentFile ( ) ; if ( ! parentDir . exists ( ) ) { if ( ! parentDir . mkdir ( ) ) { log . error ( "Directory wasn't created" ) ; } } if ( file . createNewFile ( ) ) { log . debug ( "File created" ) ; } } writeFile ( defaultOperationsFilename ( ) ) ; } catch ( Exception e ) { log . error ( "Exception while writing the new CSV operations file, may not be complete: " + e ) ; } }
store the all of the operation engine objects in the default place , including making a backup if needed
