cleaning the directory