cleanup of the directory