public void query(List<Citation> citations) {
        String option;

        while (true) {
            option = io.getString("Do you want to make a BibTex file (file) or print it on screen (screen)?: ");

            if (option.equalsIgnoreCase("file") || option.equalsIgnoreCase("screen")) {
                break;
            } else {
                io.println("Invalid command!");
            }
        }

        if (option.equalsIgnoreCase("file")) {
            printToFile(citations);
        } else {
            printToScreen(citations);
        }

    }