private ScoreEntry[] loadHighscores(){
		ScoreEntry[] scores;
		scores = new ScoreEntry[numOfScores];
		File f = new File(highscoresFileName);
		try {
		if(f.exists()&&f.isFile()){
				BufferedReader br = new BufferedReader(new FileReader(f));
				for(int x=0;br.ready();x++){
					String[] str = br.readLine().split(";");
					if(str.length!=2) continue;
					scores[x] = new ScoreEntry(str[0], Integer.parseInt(str[1]));
				}
				br.close();
			}
			else{
				resetHighscores(scores);
			}
		}
		catch (IOException e) {
			resetHighscores(scores);
		}
		return scores;
	}