public void saveGame() {
        System.out.println("What do you want the filename to be? This is used to load it.");
        try {
            mainfileName = cache.readLine();
        } catch (IOException ex) {
            System.out.println(ex.getMessage());
            System.exit(-1);
        }
        System.out.println("What do you want the result file name to be?");
        try {
            savefileName = cache.readLine();
        } catch (IOException ex) {
            System.out.println(ex.getMessage());
            System.exit(-1);
        }
        WriteFile write = new WriteFile("./Saves/" + mainfileName + ".rsbxl2");
        String suffix = "\n";
        String fileContents = name + suffix + age + suffix + testname + suffix + savefileName;
        try {
            write.writeToFile(fileContents);
        } catch (IOException ex) {
            System.out.println(ex.getMessage());
            System.exit(-1);
        }
        System.out.println("Do you wish to continue? (yes|no)");
        String choice = "";
        try {
            choice = cache.readLine();
        } catch (IOException ex) {
            System.out.println(ex.getMessage());
            System.exit(-1);
        }
        choice = choice.toLowerCase();
        switch (choice) {
            case "yes":
                this.startGame();
                break;
            case "y":
                this.startGame();
                break;
        }
    }