code: protected int getTotalArgumentLengthForInputFile(final File outputDir, final String inputFile) {
      final int argumentCountPerInputFile = getArgumentCountPerInputFile();
      int len=0;
      for (int k = 0; k < argumentCountPerInputFile; k++) {
        len+=getInputFileArgument(outputDir, inputFile, k).length();
      }
      return len + argumentCountPerInputFile; // argumentCountPerInputFile added for spaces
    }
docs: Get total command line length due to the input file.
  
  @param outputDir
  File output directory
  @param inputFile
  String input file
  @return int characters added to command line for the input file.