remove deleted items from view, remove unused files