public void flush()
	{
		FileOutputStream saveFile = null;
		try
		{
			saveFile = new FileOutputStream(".contacts.txt");
			ObjectOutputStream expt = new ObjectOutputStream(saveFile);
			expt.writeObject(this.IDgenerator);
			expt.writeObject(this.contactList);
			expt.writeObject(this.meetingList);
		}catch(IOException ex){
			ex.printStackTrace();
		}finally{
			try
			{
				saveFile.close();
			}catch(IOException ex){
				ex.printStackTrace();
			}
		}
	}