@Override
	public void saveSocietyToFile(Society society, String fileName) {
		// TODO Auto-generated method stub
		try {
			 
			File file = new File(fileName);
			JAXBContext jaxbContext = JAXBContext.newInstance(Society.class);
			Marshaller jaxbMarshaller = jaxbContext.createMarshaller();
	 
			// output pretty printed
			jaxbMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
	 
			jaxbMarshaller.marshal(society, file);
	 
		      } catch (JAXBException e) {
			e.printStackTrace();
		      }
	}