clearing the directory