code: public void write(String filename, String content) throws IOException {
      FSDataOutputStream s = getMfs().create(new Path(filename));
      s.writeBytes(content);
      s.close();
    }
docs: Writes the following content to the Hadoop cluster.
  
  @param filename File to be created
  @param content The content to write
  @throws IOException Anything.