@@ -0,0 +1,1054 @@
+package popularioty.commons.util.io;%0A%0Aimport java.io.IOException;%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0Aimport java.util.Properties;%0A%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0Aimport popularioty.commons.exception.PopulariotyException;%0A%0Apublic class FileUtils%0A%7B%0A%09private static Logger LOG = LoggerFactory.getLogger(FileUtils.class);%09%0A%0A%09public static  Map%3CString, String%3E loadProperties(String file, Class c) throws PopulariotyException %0A%09%7B%0A%09%09Map%3CString,String%3E properties = new HashMap%3CString, String%3E();%0A%09%09%0A%09%09Properties props = new Properties();%0A%09%09try %7B%0A%09%09%09%09props.load(c.getClassLoader().getResourceAsStream(file));%0A%09%09%09%09for (String key : props.stringPropertyNames()) %7B%0A%09                properties.put(key, props.getProperty(key));%0A%09            %7D%0A%09%09%09%09%0A%09%09%7D catch (IOException e) %7B%0A%09%09%09throw new PopulariotyException(%22unable to load properties file to load properties file :%22 + file,e, LOG, %22unable to load properties file to load properties file :%22 + file, PopulariotyException.Level.ERROR, 500);%0A%09%09%7D%0A%09%09return properties;%0A%09%09%0A%09%7D%0A%0A%7D%0A

update in file utils