public boolean load(String filename) {
		boolean success = true;
		Scanner scanner = null;

		try {
			scanner = new Scanner(new File(filename));

			// we assume the line format is <string> : <int> \n
			scores.clear();
			while (scanner.hasNext()) {
				String[] elements = scanner.nextLine().split(":");

				String playerName = elements[0].trim();
				int value = Integer.parseInt(elements[1].trim());
				scores.add(new Score(playerName, value));
			}

		} catch (Exception e) {
			success = false; // invalid filename or invalid data in file
		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
		return success;
	}