code: public static String readFileFromClasspath(String file) {
  		logger.trace("Reading file [{}]...", file);
  		String content = null;
  
  		try (InputStream asStream = SettingsReader.class.getClassLoader().getResourceAsStream(file)) {
  			if (asStream == null) {
  				logger.trace("Can not find [{}] in class loader.", file);
  				return null;
  			}
  			content = IOUtils.toString(asStream, "UTF-8");
  		} catch (IOException e) {
  			logger.warn("Can not read [{}].", file);
  		}
  
  		return content;
  	}
docs: Read a file content from the classpath
  @param file filename
  @return The file content