private void exit() {
		try {
			File f = new File(filepath);
			PrintWriter output;
			output = new PrintWriter(f);
			for (Employee e : employeeList) {
				output.println(e.getName());
				output.println(e.getTitle());
				output.println();// blank line to separate title and tasks
				ArrayList<Task> unfinishedTaskList = new ArrayList<Task>();
				ArrayList<Task> finishedTaskList = new ArrayList<Task>();
				for (Task t : e.getTasks()) {
					if (!t.isComplete()) {
						unfinishedTaskList.add(t);
					} else {
						finishedTaskList.add(t);
					}// end if-else
				}// end for
				if (unfinishedTaskList.size() == 0) {
					output.println();
				} else {
					for (Task t : unfinishedTaskList) {
						output.println(t.getMemo());
					}// end for
				}// end if-else
				output.println();// blank line to separate completed tasks
				if (finishedTaskList.size() == 0) {
					output.println();
				} else {
					for (Task t : finishedTaskList) {
						output.println(t.getMemo());
					}// end for
				}// end if-else
				output.println();// blank line to separate employees
			}// end for
			output.close();
			JOptionPane.showMessageDialog(null, "Information saved to file.");
		} catch (Exception e1) {
			JOptionPane
					.showMessageDialog(null,
							"File not found! The Digital Manager will exit without saving.");
		}// end try-catch
		System.exit(0);
	}// end exit