WaitFile - Copyright (C) 2002, Incode Systems, Inc.
Usage: [-options] Filespec
Filespec may contain wildcards (?, *)
-exist waits for file to exist,
-notexist waits for file to be deleted.
-canopen waits until file exists and can be opened (?, * not allowed)
-cantopen waits until file is deleted or cannot be opened (?, * not allowed)