code: public static String readFileContent( File file ) throws IOException {
  
  		String result = null;
  		ByteArrayOutputStream os = new ByteArrayOutputStream();
  		Utils.copyStream( file, os );
  		result = os.toString( "UTF-8" );
  
  		return result;
  	}
docs: Reads a text file content and returns it as a string.
  <p>
  The file is tried to be read with UTF-8 encoding.
  If it fails, the default system encoding is used.
  </p>
  
  @param file the file whose content must be loaded
  @return the file content
  @throws IOException if the file content could not be read