public CardStack(String file, String name) throws StorageReaderException {
		stack = new ArrayList<Card>();
		top = 0;
		Random random = new Random();

		int index;
		ArrayList<Card> temp = new CardCreator(file, name).cardArray();

		while(!temp.isEmpty()) {
			index = random.nextInt(temp.size());
			index = index - (index == 0 ? 0 : 1);
			stack.add(temp.get(index));
			temp.remove(index);
		}

		for(int i = 0; i < stack.size(); i++) {
			stack.get(i).setIndex(i);
		}
	}