It's all in the parms.
1st parm is handle #
2nd parm is path\filename
3rd parm is mode

It is well explained in the manual.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.