code: public static String asString(Class<?> contextClass, String resourceName) throws IOException {
  		Closer closer = Closer.create();
  		try {
  			return CharStreams.toString(closer.register(asCharSource(contextClass, resourceName).openStream()));
  		} catch (Throwable e) {
  			throw closer.rethrow(e);
  		} finally {
  			closer.close();
  		}
  	}
docs: Returns the given source as a {@link String}.
  
  @param contextClass
  @param resourceName
  @return
  @throws IOException