code: public static void write(File file, String text, String charset) throws IOException {
          write(file, text, charset, false);
      }
docs: Write the text to the File without writing a BOM,
  using the specified encoding.
  
  @param file    a File
  @param text    the text to write to the File
  @param charset the charset used
  @throws IOException if an IOException occurs.
  @since 1.0