public static Polls[] getPollssByUserMail(String userMail) {
		XStream xstream = new XStream(new DomDriver());

		Polls[] allPolls = new Polls[0];

		try {
			File file = new File((String) Server.prop.get("pollFilePath"));
			allPolls = (Polls[]) xstream.fromXML(file);
		} catch (Exception e) {
		}

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

		for (Polls poll : allPolls) {
			if (poll.getCreator().equals(userMail)) {
				retList.add(poll);
			}
		}

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