Diane....
You might want to investigate the low level fcreate() funciton. It can create a text file. You will have to play with the name issue as I believe that you will get an error if you try to create a file with a name that already exists.
Tom Gahagan
Alliance
Computer Solutions
"Music, like sex, is much too important to be left to professionals."
Robert Shaw