public void mapCSVData(List<String> parsedCSVData) throws ParseException {
        Entry newEntry;

        switch (parsedCSVData.size()) {
            case 3:
                newEntry = Entry.createNewEntry(parsedCSVData.get(0),
                        parsedCSVData.get(1), parsedCSVData.get(2), null, null, null, null);
                break;
            case 4:
                newEntry = Entry.createNewEntry(parsedCSVData.get(0),
                        parsedCSVData.get(1), parsedCSVData.get(2), parsedCSVData.get(3), null, null, null);
                break;
            case 5:
                newEntry = Entry.createNewEntry(parsedCSVData.get(0),
                        parsedCSVData.get(1), parsedCSVData.get(2), null, null, parsedCSVData.get(3), parsedCSVData.get(4));
                break;
            case 6:
                newEntry = Entry.createNewEntry(parsedCSVData.get(0),
                        parsedCSVData.get(1), parsedCSVData.get(2), parsedCSVData.get(3), parsedCSVData.get(4), parsedCSVData.get(5), null);
                break;
            case 7:
                newEntry = Entry.createNewEntry(parsedCSVData.get(0),
                        parsedCSVData.get(1), parsedCSVData.get(2), parsedCSVData.get(3), parsedCSVData.get(4), parsedCSVData.get(5), parsedCSVData.get(6));
                break;
            default:
                throw new IllegalArgumentException("Wrong number of arguments: "
                        + parsedCSVData.size() + " - The first 3 elements " +
                        "cannot be null.");
        }
        UpdateOrCreateEntries(newEntry);
    }