cleaning the folder structure