public void loadLegendConfig() throws FileNotFoundException,
	BadConfigFormatException {
		cellTypes = new HashMap<Character, String>();
		FileReader reader = new FileReader(legend);
		Scanner s = new Scanner(reader);
		String infoString;
		char abbreviation;
		String cellName;

		while (s.hasNextLine()) {
			// grab line
			infoString = s.nextLine();
			// ensure line contains comma
			if (infoString.charAt(1) != ',') {
				throw new BadConfigFormatException("Bad Legend File");
			}
			abbreviation = infoString.charAt(0);
			// 3 is where the string starts with a space in between comma and
			// string
			cellName = infoString.substring(3);
			cellTypes.put(abbreviation, cellName);
		}
	}