Update check, delete file