public Stats() throws FileNotFoundException {
        String slvl = new String();
        String sName = new String();
        Scanner sin = new Scanner(System.in);
        int atk = 1;
        int lvl = 0;
        int hp = 0;
        int currXp = 0;
        int Xpgoal = 0;

        try {
            File level = new File("level.txt");
            File name = new File("name.txt");
            if (!level.exists()) {
                level.createNewFile();
                slvl = "one";
            }
            if (!name.exists()) {
                name.createNewFile();
                System.out.println("Enter your name");
                sName = sin.next();
                //System.out.println(sName);
            }
            FileWriter fileWritter = new FileWriter(level.getName(), true);
            BufferedWriter bufferWritter = new BufferedWriter(fileWritter);
            bufferWritter.write(slvl + " ");
            bufferWritter.close();

            FileWriter fileWritter1 = new FileWriter(name.getName(), true);
            BufferedWriter bufferWritter2 = new BufferedWriter(fileWritter1);
            bufferWritter2.write(sName);
            bufferWritter2.close();
        } catch (IOException e) {
        }
        Scanner fin = new Scanner(new FileReader("level.txt"));
        Scanner nin = new Scanner(new FileReader("name.txt"));

        while (fin.hasNext()) {
            slvl = fin.next();
        }
        if (slvl.equals("one")) {
            lvl = 1;
            atk = 5;
            hp = 25;
            Xpgoal = 100;
        } else if (slvl.equals("two")) {
            lvl = 2;
            atk = 10;
            hp = 50;
            Xpgoal = 150;
        } else if (slvl.equals("three")) {
            lvl = 3;
            atk = 15;
            hp = 75;
            Xpgoal = 200;
        } else if (slvl.equals("four")) {
            lvl = 4;
            atk = 20;
            hp = 100;
            Xpgoal = 250;
        } else if (slvl.equals("five")) {
            lvl = 5;
            atk = 25;
            hp = 125;
        }
        sName = nin.next();
        PanBoard.setStats(lvl, atk, hp, sName, currXp, Xpgoal);
    }