public void loadBoardDimensions(String layoutFile) throws BadConfigFormatException, FileNotFoundException {
		FileReader reader = new FileReader(layoutFile);
		Scanner scan = new Scanner(reader);
		String temp;
		int lineCount = 0;
		int cellCount = 0;
		int cellCount2 = 0;
		temp = scan.nextLine();
		lineCount++;
		String[] tempLine = temp.split(",");
		cellCount = tempLine.length;
		temp = scan.nextLine();
		lineCount++;
		while( scan.hasNextLine() ) {
			lineCount++;
			if( scan.hasNextLine() ) {
				scan.nextLine();
				/*String[] tempLine2 = temp.split(",");
				cellCount2 = tempLine2.length;
				if (cellCount2 != cellCount) throw new BadConfigFormatException();*/
		}
		}
		numRows = lineCount;
		numColumns = cellCount;
		// System.out.println("loaded board as rows: " + numRows + " & columns: " + numColumns);
	}