public static Properties readPropertiesFromFile(String filePath) {
Properties props = new Properties();
try {
if (!new File(filePath).exists()) {
return null;
}
props.load(new InputStreamReader(new FileInputStream(filePath), "UTF-8"));
} catch (Exception e) {
e.printStackTrace();
}
return props;
}