code: public static Properties readPropertiesFile(final File file) {
  		if (!file.exists()) {
  			JKIOUtil.logger.info(String.format("File %s doesnot exists , return empty map", file.getName()));
  			return new Properties();
  		}
  		try {
  			InputStream in = new FileInputStream(file);
  			if (in != null) {
  				return readPropertiesStream(in);
  			}
  		} catch (IOException e) {
  			JKExceptionUtil.handle(e);
  		}
  		return null;
  	}
docs: Read properties file.
  
  @param file the file
  @return the properties