in reply to How can i print to my outfile handle?

I can see three errors: