code: public static String readFile(String filename, String encoding) throws IOException {
  
          return new String(readFile(filename), encoding);
      }
docs: Reads a file from the class loader and converts it to a String with the specified encoding.<p>
  
  @param filename the file to read
  @param encoding the encoding to use when converting the file content to a String
  @return the read file convered to a String
  @throws IOException in case of file access errors