code: public static String readResourceToStringChecked(Class<?> clazz, String fn) throws IOException {
  		try (InputStream stream = getResourceAsStream(clazz, fn)) {
  			return IOUtils.toString(asReaderUTF8Lenient(stream));
  		}
  	}
docs: Read the lines (as UTF8) of the resource file fn from the package of the given class into a string