code: public static Properties readPropertiesFile( File file ) throws IOException {
  
  		Properties result = new Properties();
  		InputStream in = null;
  		try {
  			in = new FileInputStream( file );
  			result.load( in );
  
  		} finally {
  			closeQuietly( in );
  		}
  
  		return result;
  	}
docs: Reads properties from a file.
  @param file a properties file
  @return a {@link Properties} instance
  @throws IOException if reading failed