private static File getOrCreateXmlFile() {
        String userHomeFolder = System.getProperty("user.home");
        String xmlPath = userHomeFolder + File.separator + TIMETRACKER_FOLDER;
        File timetrackerFolder = new File(xmlPath);
        if (!timetrackerFolder.exists()) {
            if (!timetrackerFolder.mkdir()) {
                throw new TimeTrackerException("Can't create .timetracker folder in user home.");
            }
        }
        return new File(xmlPath + File.separator + DATABASE_XML);
    }