public static Problem readProblemFromXMLFile(String fileName)
	{
		try
		{
			fileName = System.getProperty("user.dir")+"\\Quiz Generator\\Problems\\XML Problems\\"+fileName;
			
			//xml resources
			File fXmlFile = new File(fileName);
			DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
			DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
			Document doc = dBuilder.parse(fXmlFile);
			//optional, but recommended
			doc.getDocumentElement().normalize();

			//other resources
			Problem problem = null;
			
			NodeList nList = doc.getElementsByTagName("problem");
			
			for (int n=0; n<nList.getLength();n++)
			{
				Node nNode = nList.item(n);

				if (nNode.getNodeType() == Node.ELEMENT_NODE)
				{
					Element eElement = (Element) nNode;
					
					problem = extractProblem(eElement);
				}
			}
			
			return problem;
		}
		catch(Exception e)
		{
			System.out.println("Problem Reading Problem File e:01");
			e.printStackTrace();
			System.exit(4);
		}
		
		return null;
	}