private void parseAllScreensAndPopulateMap(ArrayList screenFileList)
    {
        DocumentBuilder dBuilder = null;
        try
        {
            dBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
        } catch (ParserConfigurationException ex)
        {
            System.out.println("ERROR ON CREATING XML PARSER. EXITING... !!!");
            System.exit(0);
        }
        for (int i = 0; i < screenFileList.size(); i++)
        {
            File screenFile = (File) screenFileList.get(i);
            try
            {
                Document screenFileDoc = dBuilder.parse(screenFile);
                ArrayList gadgetPropertyList = new ArrayList();
                indexForGadget = 0;
                addWidgetsToPropertyList(screenFileDoc.getDocumentElement(), gadgetPropertyList);
                File templateFile = getTemplateFile(screenFileDoc, screenFile);
                if (null != templateFile)
                {
                    Document templateFileDoc = dBuilder.parse(templateFile);
                    addWidgetsToPropertyList(templateFileDoc.getDocumentElement(), gadgetPropertyList);
                }
                addStaticBackground(gadgetPropertyList);
                String screenFileName = screenFile.getAbsolutePath();
                if (null != screenFileName && !screenNameToGadgetMap.containsKey(screenFileName) && gadgetPropertyList.size() > 0)
                {
                    screenNameToGadgetMap.put(screenFileName, gadgetPropertyList);
                } else
                {
                    System.out.println("THE SCREEN [" + screenFileName + "] IS NOT ADDED TO USER LIST!!! PLEASE INVESTIGATE");
                }
            } catch (Exception ex)
            {
                System.out.println("EXCEPTION CAUGHT ON PARSING THE FILE = " + screenFile);
            }
        }
    }