private static boolean runTest(String fileName, boolean printToConsole, int num) throws Throwable {
		// Teszt file beolvasasa		
		ArrayList<String> commands = Logger.readFile(fileName);
		
		boolean success = true;
		
		for (String command : commands) {
			// Az ures sorokat ne dolgozza fel.
			if (!command.equals("")) {
				int line = commands.indexOf(command) + 1;
				try {
					Commands.parseCommand(command, line);
				} catch (Exception e) {
					System.out.println(e.getMessage());
					// Hiba eseten aljon le a futassal
					success = false;
					break;
				}			
			}
		}
		
		if (printToConsole) {
			Logger.printConsole();
		}
		Logger.printFile(fileName);
		
		if (success) {
			System.out.println("\n"+getTestName(fileName)+": " + Logger.getTitle() + ":");
		}			
				
		// Adatok torlese a teszt lefutasa utan
		Logger.clear();
		Commands.clear();
		
		return success;
	}