public void loadConfigFiles() throws FileNotFoundException {
		
		//System.out.println("Opening files.");
		
		String line = null;
		String[] legend;
		//Scanner layout = readFile("Out_Board.csv");
		//Scanner legend = readFile("ClueLegend.txt");
		Scanner scanner = readFile("Out_Board.csv");
		
		
		try{
		while(scanner.hasNext()){
			line = scanner.nextLine();
			legend = line.split(",");
			numColumns = legend.length;
			for (int i = 0; i<numColumns; i++){
				if(legend[i].charAt(0) == 'W') {
					WalkwayCell cell = new WalkwayCell(numRows, i);
					cells.add(cell);
				} else {
					RoomCell cell = new RoomCell(numRows,i, legend[i]);
					cells.add(cell);
				}
			}
			numRows++;
		
		}
		}catch(BadConfigFormatException e){
			System.out.println("Bad file format for ClueLayout.csv");
			
		}
		
		scanner = readFile("ClueLegend.txt");
		
		try{
			while(scanner.hasNext()){
				line = scanner.nextLine();
				legend = line.split(", ");
				rooms.put(legend[0].charAt(0),legend[1]);
			}
		}catch(BadConfigFormatException e){
			System.out.println("Bad file format for ClueLegend.txt");
		}
		visited = new boolean[numRows*numColumns];
	}