code: public static Pipeline parse(File scriptFile, List<String> replacementVars)
              throws ParseException, IOException {
          checkArgument(
                  scriptFile.exists(),
                  "could not find pipeline script file at "
                          + scriptFile.getAbsolutePath());
          return parse(FileUtils.readLines(scriptFile), scriptFile.getParent(),
                  replacementVars);
      }
docs: Parses a pipeline script file.
  
  @param scriptFile
  the pipeline script file to parse
  @param replacementVars
  the variables to replace in the original pipeline script. The
  first variable gets inserted in place of all $1, the second in
  place of $2, etc.
  @return the parsed {@link Pipeline}