Check file to remove before deleting in update script.