Deletes obsolete files.