docs: public void writeToFile(StringBuffer content, String filename, String encoding) throws NoSuchPathException, IOException{
  		try {
  			OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream(filename), encoding);
  			writer.write(content.toString(), 0, content.length());
  			writer.flush();
  			writer.close();
  		} catch (FileNotFoundException e) {
  			throw new NoSuchPathException(e);
  		}
  	}