public void load(File filepath){
		try {
			XMLReader xr = XMLReaderFactory.createXMLReader();
			LoadingHandler handler = new LoadingHandler();
			xr.setContentHandler(handler);
			xr.parse(new InputSource(new FileReader(filepath)));
		} catch (FileNotFoundException e1) {
			System.out.println("ERROR: "+e1.getMessage());
			JOptionPane.showMessageDialog(Main.frame, "ERROR: Could not find the path specified", "ERROR", JOptionPane.ERROR_MESSAGE);
		} catch (SAXException | IOException e1){
			e1.printStackTrace();
			JOptionPane.showMessageDialog(Main.frame, "ERROR WHILE LOADING", "ERROR", JOptionPane.ERROR_MESSAGE);
		}
	}