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