@After
	public void tearDown() {
		userInput = null;
		nlgResults = null;
		dmResults = null;
		
		//deleting new userData
		File newFile = new File("resources/files/UserData/" + userDataCount + ".json");
		userDataCount++;
		while(newFile.exists()) {
//			System.out.println("deleting");
			newFile.delete();
			newFile = new File("resources/files/UserData/" + userDataCount + ".json");
			userDataCount++;
		}
		userDataCount = 0;
		
		//deleting new recipeData
		newFile = new File("resources/files/RecipeData/" + recipeDataCount + ".json");
		recipeDataCount++;
		while(newFile.exists()) {
//			System.out.println("deleting");
			newFile.delete();
			newFile = new File("resources/files/RecipeData/" + recipeDataCount + ".json");
			recipeDataCount++;
		}
		recipeDataCount = 0;
		
		//deleting new ingredientData
		newFile = new File("resources/files/IngredientData/" + ingredientDataCount + ".json");
		ingredientDataCount++;
		while(newFile.exists()) {
//			System.out.println("deleting");
			newFile.delete();
			newFile = new File("resources/files/IngredientData/" + ingredientDataCount + ".json");
			ingredientDataCount++;
		}
		ingredientDataCount = 0;
		
		//deleting new toolData
		newFile = new File("resources/files/ToolData/" + toolDataCount + ".json");
		toolDataCount++;
		while(newFile.exists()) {
//			System.out.println("deleting");
			newFile.delete();
			newFile = new File("resources/files/ToolData/" + toolDataCount + ".json");
			toolDataCount++;
		}
		toolDataCount = 0;
		
		
		//deleting new keywordData
		
		
		for(String s : removableFiles) {
			DialogManager.giveDialogManager().getDictionary().removeKeyword(s);
		//	newFile = new File("resources/files/KeywordData/" 
		//			+ kwList.get(j).getKeywordData().getWordID() + ".json");
		//	newFile.delete();
		}
		
		removableFiles = null;
		DialogManager.giveDialogManager().refresh();
	}