public void createVehicleFolder(String outputDirectory){
  File outputFolder=new File(outputDirectory + "Vehicles/");
  if (outputFolder.exists()) {
    String s="The folder already exists! Delete " + outputFolder.getPath() + " and rerun.";
    throw new RuntimeException(s);
  }
 else {
    boolean checkDirectory=outputFolder.mkdirs();
    if (!checkDirectory) {
      log.warn("Could not make " + outputFolder.toString() + ", or it already exists!");
    }
  }
}

public void createVehicleFolder ( String outputDirectory ) { File outputFolder = new File ( outputDirectory + "Vehicles/" ) ; if ( outputFolder . exists ( ) ) { String s = "The folder already exists! Delete " + outputFolder . getPath ( ) + " and rerun." ; throw new RuntimeException ( s ) ; } else { boolean checkDirectory = outputFolder . mkdirs ( ) ; if ( ! checkDirectory ) { log . warn ( "Could not make " + outputFolder . toString ( ) + ", or it already exists!" ) ; } } }
a method to create a new " vehicles " folder in the output directory in which the individual vehicle files will be written out to .
