private void readXML(String fileName)
    {
        Document document;
        DocumentBuilder documentBuilder;
        DocumentBuilderFactory documentBuilderFactory;
        NodeList nodeList;
        File folder;
        File[] xmlInputFiles;
        ArrayList<ShotData> shots;
        String currentDoc = "";

        try
        {
        	folder = new File(fileName);
        	xmlInputFiles = folder.listFiles();
        	
        	
        	for(File xmlInputFile : xmlInputFiles)
        	{
        		currentDoc = xmlInputFile.getAbsolutePath();
	            documentBuilderFactory = DocumentBuilderFactory.newInstance();
	            documentBuilder = documentBuilderFactory.newDocumentBuilder();
	            document = documentBuilder.parse(xmlInputFile);
	            nodeList = document.getElementsByTagName("*");
	            ShotData s;
	            shots = new ArrayList<ShotData>();
	
	            document.getDocumentElement().normalize();
	
	            for (int index = 0; index < nodeList.getLength(); index++)
	            {
	                Node node = nodeList.item(index);
	                if (node.getNodeType() == Node.ELEMENT_NODE)
	                {
	                    Element element = (Element) node;
	
	                    s = getTagValue(element);
	                    if (s != null)
	                    {
	                    	shots.add(s);
	                    }
	                    //System.out.println("\tcolour : " + getTagValue(element));
	                    //System.out.println("\ttest : " + getTagValue(element));
	                    //System.out.println("-----");
	                }
	            }
	            gameShots.add(shots);
        	}
        }
        catch (Exception exception)
        {
        	System.out.println("Error reading shot data on file " +
        						currentDoc);
            exception.printStackTrace();
            System.exit(-1);
        }
    }