docs: public static void writeLinesToFile(final Collection<String> collection, final File output,
  		final String encoding) throws FileNotFoundException, IOException
  	{
  		final StringBuffer sb = new StringBuffer();
  		for (final String element : collection)
  		{
  			sb.append(element);
  			sb.append("\n");
  		}
  		string2File(output, sb.toString(), encoding);
  	}