@Override
	public Society recoverSocietyFromFile(String fileName) {
		// TODO Auto-generated method stub
		Society society=null;
		File file = new File(fileName);
		if (!file.exists())
			return null;
		else {
			try {
				
				JAXBContext jaxbContext = JAXBContext.newInstance(Society.class);
				Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();
		 
				// output pretty printed
				society =  (Society) jaxbUnmarshaller.unmarshal(file);
	
			      } catch (JAXBException e) {
			    	  e.printStackTrace();
			      } 
			return society;
		}
	}