public void addSettings(String date, String background1, String background2, String background3, String logo, String button)
    {
        Element settingsModule = doc.createElement("settings");
        gameModule.appendChild(settingsModule);
        
        Element startdateElement = doc.createElement("startdate");
        startdateElement.appendChild(doc.createTextNode(date));
        settingsModule.appendChild(startdateElement);
        
        if(!background1.equals(""))
        {
        	Path path = Paths.get(background1);
	        Element background1Element = doc.createElement("backGround1");
	        background1Element.appendChild(doc.createTextNode(path.getFileName().toString()));
	        settingsModule.appendChild(background1Element);
        }
        if(!background2.equals(""))
        {
        	Path path = Paths.get(background2);
	        Element background2Element = doc.createElement("backGround2");
	        background2Element.appendChild(doc.createTextNode(path.getFileName().toString()));
	        settingsModule.appendChild(background2Element);
        }
        
        if(!background3.equals(""))
        {
        	Path path = Paths.get(background3);
	        Element background3Element = doc.createElement("backGround3");
	        background3Element.appendChild(doc.createTextNode(path.getFileName().toString()));
	        settingsModule.appendChild(background3Element);
	    }
        if(!logo.equals(""))
        {
        	Path path = Paths.get(logo);
	        Element logoElement = doc.createElement("logo1");
	        logoElement.appendChild(doc.createTextNode(path.getFileName().toString()));
	        settingsModule.appendChild(logoElement);
        }
        if(!button.equals(""))
        {
        	Path path = Paths.get(button);
	        Element buttonElement = doc.createElement("button1");
	        buttonElement.appendChild(doc.createTextNode(path.getFileName().toString()));
	        settingsModule.appendChild(buttonElement);
        }
    }