private boolean write(Set<Contact> contacts, List<Meeting> meetings)
		{
			// Just to make sure
			//
			if(fileExists() == false){
				makeFile();
			}
			// Lets ask again
			//
			if(fileExists() == true)
			{
				try {
					out = new PrintWriter(new FileWriter(TEMP_FILENAME, false));
					String[] xmlTag;
					writeln(XML_FORMAT.getHeader()); // <?xml ...> <contactManager>
					xmlTag = XML_FORMAT.getContactList();
					writeln(xmlTag[0]); // <contactList>
					
					// 1 - Process Contacts
					//
					if(contacts != null)
					{
						for(Contact contact : contacts)
						{
							writeContact(contact);
						}
					}
					writeln(xmlTag[1]); // </contactList>
					
					xmlTag = XML_FORMAT.getMeetingList();
					writeln(xmlTag[0]); // <contactList>
					
					// 2 - Process Meetings
					//
					if(meetings != null)
					{
						for(Meeting meeting : meetings)
						{
							writeMeeting(meeting);
						}
					}
					writeln(xmlTag[1]); // </contactList>
					writeln(XML_FORMAT.getFooter()); // </contactManager>
					saveTempFileAsTheFinalFile();
				} catch (FileNotFoundException ex) {
					// This happens if file does not exist and cannot be created,
					// or if it exists, but is not writable
					System.out.println("Cannot write to file " + file + ".");
				} catch (IOException ex) {
						ex.printStackTrace();
				} finally {
						out.close();
				}
			}
			return false;
		
		} // Closes write  //