public void setType(GameType type) {
		gameType = type;
		System.out.println("GameType " + gameType);

		try {
			//File excelFile = new File(cardValueFile);
			if(gameType == GameType.FRACTIONS)
				numberTypeFile = FRACTION_FILE;
			else if(gameType == GameType.DECIMALS)
				numberTypeFile = DECIMAL_FILE;
			else if(gameType == GameType.INTEGERS)
				numberTypeFile = INTEGER_FILE;
			else {
				gameType = GameType.INTEGERS;
				numberTypeFile = INTEGER_FILE;
			}
			cardValueInput = getClass().getClassLoader().getResourceAsStream(numberTypeFile);

			System.out.println("file size: " + cardValueInput.available());
			cardValueWorkbook = new XSSFWorkbook(cardValueInput);

			currentSheet = cardValueWorkbook.getSheetAt(0);
			Iterator<Row> rowIter = currentSheet.rowIterator();
			rowCount = 0;
			while(rowIter.hasNext()) {
				rowCount++;
				rowIter.next();
			}
		} catch (FileNotFoundException e) {
			System.out.println("excel file not found");
			System.out.println(new File(numberTypeFile));
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}