code: public static String readContentAsString(File file, String encoding) {
          try {
              return readContentAsString(new FileInputStream(file), encoding);
          } catch (FileNotFoundException e) {
              throw E.ioException(e);
          }
      }
docs: Read file content to a String
  
  @param file
  The file to read
  @param encoding
  encoding used to read the file into string content
  @return The String content