public void loadCardConfigFile(String file) throws FileNotFoundException, BadConfigFormatException {
		FileReader cardReader = new FileReader(file);
		Scanner cardScanner = new Scanner(cardReader);
		Card toAdd;
		final int numColumns = 2;
		String name;
		Card.cardType type = null;
		while(cardScanner.hasNextLine()) {
			String line = cardScanner.nextLine();
			String[] parts = line.split(",");
			if(parts.length != numColumns) {
				throw new BadConfigFormatException("Error in card file");
			}
			else {
				name = parts[0];
				if(parts[1].equals("WEAPON")) 
					type = Card.cardType.WEAPON;
				else if (parts[1].equals("PERSON"))
					type = Card.cardType.PERSON;
				else if (parts[1].equals("ROOM")) 
					type = Card.cardType.ROOM;
				else
					throw new BadConfigFormatException("invalid card type");
				toAdd = new Card(name, type);
				this.cards.add(toAdd);
				this.fullDeck.add(toAdd);
				
			}
		}
	}