When writing files to a file system from a database, does real time protection from Windows Defender stop a file from being written to the disk if malware or a virus is detected? Or does it fully write the file to the file system first, scan it, then remove the file if issues are found?