private void writeToFile() {
		String fileName = "SavedGame.txt";
		PrintWriter pW = null;
		Card card;
		try {
			pW = new PrintWriter(fileName);
			pW.println(cardWidth);
			pW.println(cardHeight);
			pW.println(userCard.getCardStatusInformation()); // what is this?

			for (int i = 0; i < NUMBER_OF_ROWS; i++) {
				for (int j = 0; j < NUMBER_OF_COLS; j++) {
					if (cards[i][j] == null) {
						pW.println("null");
					} else {
						pW.println(cards[i][j].getCardStatusInformation());
					}
				}
			}

			pW.println(cardStack.size());

			for (int i = 0; i < cardStack.size(); i++) {
				card = cardStack.get(i);
				pW.println(card.getCardStatusInformation());
			}

			pW.println(userScore);
			pW.println(pointsToAdd);
			pW.println(noMoreTableCards);
			pW.println(noMoreAvailableMoves);
			pW.println(numberRemoved);

			pW.close();
		} catch (IOException e) {
			System.out.println("Error saving game to " + fileName);
		}
	}