public static Reminder[] getRimindersByUserMail(String userMail) {

		XStream xstream = new XStream(new DomDriver());

		Reminder[] allReminders = new Reminder[0];

		try {
			File file = new File((String) Server.prop.get("reminderFilePath"));
			allReminders = (Reminder[]) xstream.fromXML(file);
		} catch (Exception e) {
		}

		List<Reminder> retList = new ArrayList<Reminder>();

		for (Reminder reminder : allReminders) {
			if (reminder.getCreator().equals(userMail)) {
				retList.add(reminder);
			}
		}

		return retList.toArray(new Reminder[0]);
	}