class CorrectLinePrinter {

  public static void main(String[] args) throws IOException {<FILL_FUNCTION_BODY>}
}

    if (args.length != 2) {
      System.out.println("Usage: " + CorrectLinePrinter.class.getSimpleName() + " <file> <langCode>");
      System.exit(1);
    }
    List<String> lines = Files.readAllLines(Paths.get(args[0]));
    JLanguageTool lt = new JLanguageTool(Languages.getLanguageForShortCode(args[1]));
    lt.activateLanguageModelRules(new File("/home/languagetool/ngram-data/"));
    for (String line : lines) {
      List<RuleMatch> matches = lt.check(line);
      if (matches.size() == 0) {
        System.out.println(line);
      }
    }
  
<no_super_class>