code: public static String read(final File aFile, final Charset aCharset) throws IOException {
          String string = new String(readBytes(aFile), aCharset);
  
          if (string.endsWith(EOL)) {
              string = string.substring(0, string.length() - 1);
          }
  
          return string;
      }
docs: Reads the contents of a file using the supplied {@link Charset}; the default system charset may vary across
  systems so can't be trusted.
  
  @param aFile The file from which to read
  @param aCharset The character set of the file to be read
  @return The information read from the file
  @throws IOException If the supplied file could not be read