public SystemXMLParser(String fileName) {
		File schemaFile;
		Schema schema;
		Source xmlFile = new StreamSource(new File(fileName));
		SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
		schemaFile = new File("bin/schema.xsd");
		
		try {
			schema = schemaFactory.newSchema(schemaFile);
			}
		catch (SAXException e1) {
			schema = null;
			e1.printStackTrace();
			}
		Validator validator = schema.newValidator();
		
		try {
		  validator.validate(xmlFile);
		  System.out.println(xmlFile.getSystemId() + " is valid");
		  System.out.println("Is Valid");
			}
		catch (SAXException e) {
		  System.out.println(xmlFile.getSystemId() + " is NOT valid");
		  System.out.println("Reason: " + e.getLocalizedMessage());
			}
		catch (IOException e) {
			e.printStackTrace();
			}
		
		this.fileName = fileName;
	    parse(this.fileName);
	    
	    for(int i = 0; i < collection.size(); i++){
	    	System.out.println(collection.get(i).getName());
	    }
	}