I think maybe I didn't explain this clearly.
I don't have any routine for creating text file. I need to know how to create the file. In addition, I need to only create the file if it doesn't exist already.
I can, currently, only create the file manually. After the file is created the rest of...