public static Map<String, String> getLocators(String pageName)
    {
        Map<String, String> locators = locatorsMap.get(pageName);
        paths.put(pageName, getlocatorsDirectory() + pageName.toString() + ".properties");

        if(locators != null)
            return locators;

        locators = new HashMap<String, String>();
        Properties props = new Properties();
        try
        {
            FileInputStream fis = new FileInputStream(paths.get(pageName));
            props.load(fis);
            fis.close();
        }
        catch (IOException e)
        {
            e.printStackTrace();
        }

        Enumeration em = props.keys();
        while (em.hasMoreElements())
        {
            String key = em.nextElement().toString();
            locators.put(key, props.getProperty(key));

        }

        locatorsMap.put(pageName, locators);

        return locators;
    }