public static String[] getNames(String[][] playerInfo) {
		String[] names = null;
		try {
			Scanner scanner = new Scanner(new File("Horse Racing Input/playerData.dat"));
			int numPlayers = Integer.parseInt(scanner.nextLine());
			names = new String[numPlayers];

			for (int i = 0; i < numPlayers; i++) {
				names[i] = scanner.nextLine();
			}

		} catch (FileNotFoundException e) {

			e.printStackTrace();
		}

		return names;
	}