code: public static String fileToString(String fileName, String charsetName) {
  		return fileToString(new File(fileName), charsetName);
  	}
docs: Transforms a file into a string.
  
  @param fileName
  name of the file to be transformed
  @param charsetName
  encoding of the file
  @return the string containing the content of the file