public void loadData() throws IOException {
        try {
            DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
            try {
                Document document = builder.parse(filename);
                document.normalize();
                NodeList nodeList = document.getElementsByTagName("Contact");

                for (int i = 0; i < nodeList.getLength(); i++) {
                    listContacts.add(getContactFromData(nodeList.item(i).getChildNodes()));
                }
            } catch (SAXException e) {
                LOGGER.error("loadData SAXException captured.", e);
            }
        } catch (ParserConfigurationException e) {
            LOGGER.error("loadData ParserConfigurationException captured.", e);
        }
    }