in reply to Re^4: Writing to file part deux
in thread Writing to file part duex

Then there's something wrong elsewhere. Please post your code as I care to avoid endlessly speculating what your code looks like.