public void readFile() throws IOException {
        BufferedReader fileIn;
        try {
            fileIn = new BufferedReader(new FileReader(fileName));
        } catch (FileNotFoundException e){
            File points = new File(fileName);
            PrintWriter fileOut = new PrintWriter(points);
            fileOut.println("0");
            fileOut.close();
            fileIn = new BufferedReader(new FileReader(fileName));
        }
        String dato = fileIn.readLine();
        while(dato != null) {
            int number = (Integer.parseInt(dato));
            scorelist.add(number);
            dato = fileIn.readLine();
        }
        fileIn.close();
        }