public int numberOfScores() {
		File file;
		file = new File("Scores.txt");
		Scanner scanner;
		int numberofScores = 0;
		String line = "";
		StringTokenizer scoreData;
		try {
			scanner = new Scanner(file);
			while(scanner.hasNextLine()) {
				line = scanner.nextLine();
				users.add(line);
				line = scanner.nextLine();
				scoreData = new StringTokenizer(line);
				highScores.add(scoreData.nextElement().toString());
				times.add(scoreData.nextElement().toString());
				difficulties.add(scoreData.nextElement().toString());
				sizes.add(scoreData.nextElement().toString());
				numberofScores++;
			}
			scanner.close();
		} catch (FileNotFoundException e) {
			JOptionPane.showMessageDialog(null, "Could not load Scores. Contact system administrator.", "Error", JOptionPane.ERROR_MESSAGE);
		}
		return numberofScores;
	}