code: public static String slurpFileNoExceptions(String filename, String encoding) {
      try {
        return slurpFile(filename, encoding);
      } catch (Exception e) {
        throw new RuntimeIOException("slurpFile IO problem", e);
      }
    }
docs: Returns all the text in the given file with the given encoding. If the file
  cannot be read (non-existent, etc.), then and only then the method returns
  <code>null</code>.