replace file system check with WF check

What is the third `'='` param here?