public Model(){

		try{
		String dir = System.getProperty("user.dir");
		File file = new File( dir + "/tags/");
		String[] tagFiles = file.list();

		for (String item : tagFiles) {	
        DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
        DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
        Document doc = docBuilder.parse (new File(dir + "/tags/" + item));

        NodeList nameList = doc.getElementsByTagName("Name");
        Node tagTitle = nameList.item(0);
        String title = tagTitle.getFirstChild().getNodeValue();

        NodeList listOfFeeds = doc.getElementsByTagName("Feed");
        ArrayList<String> feedList = new ArrayList<String>();
        for(int s=0; s<listOfFeeds.getLength() ; s++){
            Node feedNode = listOfFeeds.item(s);
            String feedName = feedNode.getFirstChild().getNodeValue();
            feedList.add(feedName);}
        	
        Folder newTag = new Folder(title,feedList);
		this.tagList.add(newTag);
		}
			
		
		}
		catch (SAXParseException err) {
		    System.out.println ("** Parsing error" + ", line " 
		         + err.getLineNumber () + ", uri " + err.getSystemId ());
		    System.out.println(" " + err.getMessage ());
	    }
		catch (SAXException e) {
		    Exception x = e.getException ();
		    ((x == null) ? e : x).printStackTrace ();
		}
		catch (Throwable t) {
		    t.printStackTrace ();
		}
		
	}