@Override
	public Customer readCustomer(int customerID) {
		if (doc == null)
			return null;

		Element currRoot = doc.getRootElement();
		Element parrentCusto = currRoot.getChild("customers");
		List<Element> listCustos = parrentCusto.getChildren();

		for (Element customer : listCustos) {
			int newCustomerID = Integer.parseInt(customer
					.getChild("customerID").getText());
			if (newCustomerID == customerID) {
				String name = customer.getChild("name").getText();
				String surename = customer.getChild("surename").getText();
				String address = customer.getChild("address").getText();
				Customer cus = new Customer(name, surename, newCustomerID,
						address);
				return cus;
			}
		}
		return null;
	}