docs: public void doMain(String[] args)
      {
          int firstFileIndex = processOptions(args);
  
          int fileCount = args.length - firstFileIndex;
          String[] files = new String[fileCount];
          System.arraycopy(args, firstFileIndex, files, 0, fileCount);
  
          if (optionsAreValid(files))
          {
              processFiles(files);
          }
      }