class App {

  /**
   * Program entry point.
   */
  public static void main(String[] args) throws IOException {<FILL_FUNCTION_BODY>}
}


    // create the file writer and execute the custom action
    FileWriterAction writeHello = writer -> {
      writer.write("Gandalf was here");
    };
    new SimpleFileWriter("testfile.txt", writeHello);

    // print the file contents
    try (var scanner = new Scanner(new File("testfile.txt"))) {
      while (scanner.hasNextLine()) {
        LOGGER.info(scanner.nextLine());
      }
    }
  
<no_super_class>