Cleared and remove the folder in the afterrun function for each modules.