public static void setQuestions(String fileName){
		questions = new LinkedList<Question>();
		reader = new QuestionDOM(fileName);
		questions = reader.getQuestionList();
		
		try {
			if (questions.size() < 15)
				throw new notEnoughQustionsException();

			int diff = 1;
			for (int i = 1; i <= 10; i++) {
				for (int j = 0; j < questions.size(); j++) {
					if (questions.get(j).getDifficulty() == i) {
						diff++;
						break;
					}
				}
			}
			if (diff < 10)
				throw new missingDifficultyException();
		} catch (missingDifficultyException | notEnoughQustionsException e) {
			LOGG.logError(e.getMessage());
			e.printStackTrace();
		}
		
		Collections.shuffle(questions);
		
		LOGG.logInfo("Questions set, and shuffled.");
	}