public void loadBoardConfig() throws FileNotFoundException, BadConfigFormatException {
		FileReader reader = new FileReader(board);
		Scanner in = new Scanner(reader);
		Set<Character> keySet = rooms.keySet();
		int countRow = 0;
		while (in.hasNextLine()) {
			String wholeLine = in.nextLine();
			String[] separate = wholeLine.split(",");
			if (countRow == 0){
				numColumns =separate.length;
			}
			if (numColumns != separate.length){
				throw new BadConfigFormatException("Inconsistent number of columns per row.");
			}
			for (String s : separate) {
				boolean inKey = false;
				for (Character key : keySet){
					if( s.charAt(0) == key){
						inKey = true;
					}
				}
				if (inKey == false){
					throw new BadConfigFormatException("Incorrect room character.");
				}
				if (s.equals("W")) {
					cells.add(new WalkwayCell());
				} else {
					cells.add(new RoomCell(s));
				}	
			}
			countRow++;
		}
		
		numRows = countRow;
		
	}