Revert "[BUGFIX] sys_file record doesn't get flagged as delete"