public User(String u) throws FileNotFoundException{
        Username = u;
        Scanner sc = new Scanner(new File("Users/" + Username + ".txt"));
        while(sc.hasNext()){
            String text = sc.next();
            if(text.equals("Password:"))
                Password = sc.next();
            if(text.equals("E-mail:"))
                Email = sc.next();
            if(text.equals("Level:"))
                level = sc.nextInt();
            if(text.equals("Points:"))
                points = sc.nextInt();
            if(text.equals("Correct:"))
                qcorrect = sc.nextInt();
            if(text.equals("Incorrect:"))
                qincorrect = sc.nextInt();
            if(text.equals("Questions:"))
                totalquestions = sc.nextInt();
        }
    }