public void loadRoomCards(String legend){  // reads rooms and adds to cards
		cards = new HashMap <String, Card>();
		try{
			FileReader legendReader = new FileReader(legend);
			Scanner legendIn = new Scanner(legendReader);
			int lineNumber = 0;

			while (legendIn.hasNextLine()) {
				lineNumber = lineNumber + 1;
				String legendLine = legendIn.nextLine();
				if (!legendLine.contains(","))
					throw new BadConfigFormatException(legend, ",", lineNumber);
				if (legendLine.indexOf(',')!=legendLine.lastIndexOf(','))
					throw new BadConfigFormatException(legend, "MULTIPLE ','", lineNumber);

				String[] splitLegendLine = legendLine.split(",");
				// Splits the line into two strings, the first being the initial, 
				//   the second being the name of the room   
				// Check if we actually have a character
				if (splitLegendLine[0].length() > 1) {
					throw new BadConfigFormatException(legend, splitLegendLine[0], lineNumber);
				} else {
					char tempInitial = splitLegendLine[0].toCharArray()[0];
					String tempRoomName = splitLegendLine[1].trim();
					if(!tempRoomName.equals("Closet") && !tempRoomName.equals("Walkway")){
						Card c = new Card(tempRoomName, CardType.ROOM);
						cards.put(tempRoomName, c);
					}
				}
			}
		}
		catch(FileNotFoundException e){
			System.out.println(e.getLocalizedMessage());
			e.printStackTrace();
		}
	}