cleaning up the directory