code: public static void write(final Hml data, final File file) throws IOException {
          checkNotNull(data);
          checkNotNull(file);
          try (BufferedWriter writer = new BufferedWriter(new FileWriter(file))) {
              write(data, writer);
          }
      }
docs: Write the specified HML to the specified file.
  
  @param data HML to write, must not be null
  @param file file to write to, must not be null
  @throws IOException if an I/O error occurs