code: public static String readFromFile(final File file, final Charset encoding) throws IOException
  	{
  		return inputStream2String(StreamExtensions.getInputStream(file), encoding);
  	}
docs: Read from file.
  
  @param file
  the file
  @param encoding
  the encoding
  @return the string
  @throws IOException
  Signals that an I/O exception has occurred.