…not Get(FileName) = "smid ud" = 0 ??
Wrong order of precedence.
not ( Get ( FileName ) = "smid ud" )
It looks like you're trying to speak logic to a non-logic operator... if you get what I mean...?
I would suggest get(filename) ≠ "smid ud"
interesting... it reminds me of layer speak... "where you not at the scene of the crime?"