removing obsolete directories and files