Add IsNull() to class CAutoFile and remove operator !

As suggested by @TheBlueMatt and @laanwj in #4701.
Can you use NULL instead?