There could be other simpler ways, but this one should work:
=return (Match(ext,"txt|config","pr") and StrCmp("C:\Program Files (x86)\Worksoft\Certify\Client",path) == 0);
I take the path from your screenshot, change it if it's not the one you're actually using.