Remove old files that are replaced by new objects.