docs: private void processFiles() throws CompilationFailedException, IOException, URISyntaxException {
          GroovyShell groovy = new GroovyShell(conf);
          setupContextClassLoader(groovy);
  
          Script s = groovy.parse(getScriptSource(isScriptFile, script));
  
          if (args.isEmpty()) {
              try(BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
                  PrintWriter writer = new PrintWriter(System.out);
                  processReader(s, reader, writer);
                  writer.flush();
              }
          } else {
              Iterator i = args.iterator();
              while (i.hasNext()) {
                  String filename = (String) i.next();
                  //TODO: These are the arguments for -p and -i.  Why are we searching using Groovy script extensions?
                  // Where is this documented?
                  File file = huntForTheScriptFile(filename);
                  processFile(s, file);
              }
          }
      }