public void loadLegend(String legendFile) throws FileNotFoundException, BadConfigFormatException {
		//setup filereader and scanner
		FileReader reader = new FileReader(legendFile);
		Scanner scan = new Scanner(reader);
		String temp = null;

		//loop through to add rooms
		while( scan.hasNextLine() ) {
			if( scan.hasNextLine() ) {
				temp = scan.nextLine();
			}
			if (!((temp.charAt(1))==',')) throw new BadConfigFormatException();
			String[] tempLine = temp.split(",",2);
			if (tempLine[1].contains(",")) throw new BadConfigFormatException();
			rooms.put(tempLine[0].charAt(0), tempLine[1].trim());
			//System.out.println("adding: " + tempLine[0].charAt(0) + " + " + tempLine[1]);
			//System.out.println("added: " + tempLine[0] + "|" + rooms.get(tempLine[0].charAt(0)));
			
		}
		scan.close();
	}