code: private void loadPropFile(String propFileName) throws IOException, Error {
  
  		InputStream inputStream = null;
  		try {
  			inputStream = getClass().getClassLoader().getResourceAsStream(propFileName);
  			if (inputStream != null) {
  				this.prop.load(inputStream);
  				LOGGER.debug("properties file " + propFileName + " loaded succesfully");
  			} else {
  				String errorMsg = "properties file '" + propFileName + "' not found in the classpath";
  				LOGGER.error(errorMsg);
  				throw new Error(errorMsg, Error.SETTINGS_FILE_NOT_FOUND);
  			}
  		} finally {
  			try {
  				if (inputStream != null) {
  					inputStream.close();
  				}
  			} catch (IOException e) {
  				LOGGER.warn("properties file '"  + propFileName +  "' not closed properly.");
  			}
  		}
  	}
docs: Loads the settings from the properties file
  
  @param propFileName
  the name of the file
  
  @throws IOException - if an error occurred when reading from the input stream.
  @throws Error - If setting file not found