Add back the default file deletion check
Fix default file deletion block