I don’t think the file must be replaced. Does your computer work well? But the wiser thing would have been send it to Chest instead of deleting. Chest is safer, you can restore the file in case of false positive detection, etc.
Welcome to forums.