code: public static BufferedWriter newWriter(File file, String charset) throws IOException {
          return newWriter(file, charset, false);
      }
docs: Creates a buffered writer for this file, writing data without writing a
  BOM, using a specified encoding.
  
  @param file    a File
  @param charset the name of the encoding used to write in this file
  @return a BufferedWriter
  @throws IOException if an IOException occurs.
  @since 1.0