Added the method to remove the generated trash in the directory