chain, it will work like 'stdfile' or 'stddir' and work on the real file system.
First argument is the filename or directory path.
Second argument is access mode, files only, optional: r, w, rw.
Third argument is open disposition, files only, optional: create, create-replace, open, open-create, open-append, open-truncate.
Forth argument is file sharing, files only, optional: nr, nw, nrw, d.