code: @Override
  	public String getEnvironment() {
  		File file = new File(getFileName());
  		Properties properties = new Properties();
  		if (file.exists() && file.canRead()){
  			BufferedInputStream inStream = null;
  			try{
  				inStream = new BufferedInputStream(new FileInputStream(file));
  				properties.load(inStream);
  			}catch(IOException ioe){
  				log.info("Failed to load properties: "+getFileName(), ioe);
  			}finally{
  				if (inStream != null){
  					try {
  						inStream.close();
  					} catch (IOException e) {
  						log.info("Failed to load properties: "+getFileName(), e);
  					}
  				}
  			}
  		}
  		String property = properties.getProperty(getPropertiesKey());
  		return property;
  	}
docs: /* (non-Javadoc)
  @see net.sf.prefixedproperties.spring.EnvironmentFactory#getEnvironment()