cleaning the dir