public static void initHelper(Player p) {
		Scanner sc = null;
		File fileName = null;
		if (p == Player.BLACK)
			fileName = new File(bFileName);
		else
			fileName = new File(wFileName);

		try {
			sc = new Scanner(fileName);
		} catch (FileNotFoundException e) {
			System.out.println("Failed to read file. Please debug.");
			System.exit(0);
		}

		for (int i = 0; i < numPlayer; i++) {
			sc.nextInt();
			double[][] weights1 = new double[8][8];
			double[][] weights2 = new double[8][8];
			for (int w = 0; w < 2; w++) {
				for (int r = 0; r < 8; r++) {
					for (int c = 0; c < 8; c++) {
						if (w == 0)
							weights1[r][c] = sc.nextDouble();
						else
							weights2[r][c] = sc.nextDouble();
					}
				}
			}
			if (p == Player.BLACK) {
				bPlayers[i] = new PTag(new PlayerGenetics(), i);
				bPlayers[i].player.initWeights(weights1, weights2);
			} else {
				wPlayers[i] = new PTag(new PlayerGenetics(), i);
				wPlayers[i].player.initWeights(weights1, weights2);
			}
		}
		sc.close();
	}