docs: @Override
      public void writeFile(String arg0, Map result) {
  
          // Initial variables
          BufferedWriter bwR;                         // output object
  
          try {
  
              // Get version number
              if (dssatVerStr == null) {
                  dssatVerStr = getObjectOr(result, "crop_model_version", "").replaceAll("\\D", "");
                  if (!dssatVerStr.matches("\\d+")) {
                      dssatVerStr = DssatBatchFileOutput.DssatVersion.DSSAT45.toString();
                  }
              }
  
              // Initial BufferedWriter
              arg0 = revisePath(arg0);
              outputFile = new File(arg0 + "Run" + dssatVerStr + ".bat");
              bwR = new BufferedWriter(new FileWriter(outputFile));
  
              // Output Run File
              bwR.write("C:\\dssat" + dssatVerStr + "\\dscsm0" + dssatVerStr + " b dssbatch.v" + dssatVerStr + "\r\n");
              bwR.write("@echo off\r\n");
              bwR.write("pause\r\n");
              bwR.write("exit\r\n");
  
              // Output finish
              bwR.close();
          } catch (IOException e) {
              LOG.error(DssatCommonOutput.getStackTrace(e));
          }
      }