Why won't this write to file correctly

Printable View