Hello @sajer_ Witch regards to "smart optimization", this is meant to work in a way, that it does skip files which are whitelisted / marked as safe. As the file you are referring to is a an actual detection (I assume it´s some PUA), it will come up every time you run a scan. If you want to have it "not detected" the right way is to create exclusion for that particular file, ideally either by hash, or by combination of a file path and detection name. You can do it from ESMC "threats" tab, by clicking left click - add exclusion to policy - select a policy, you want to have exclusion applied to. You can do it other way around, to start from "policies", new policy, search for "exclusions" and then upon adding a new one click on "exclude detected threats" and search for that particular detection.
That should make it gone away from repetitive scans, unless the scan is run with parameter "ignore exclusions".