code: public static void write(String string, File file) throws IOException {
          try (Writer w = new OutputStreamWriter(new FileOutputStream(file), ENCODING_UTF_8)) {
              w.write(string);
          }
      }
docs: Stores {@code string} to {@code file} using {@link #ENCODING_UTF_8}.
  
  @param string the {@link String} to store
  @param file the file to store to
  @throws IOException on IO errors