Yeah, I snipped the code because I was trying to shorten everything up, but I actually open for reading then close, then reopen for writing and overwrite the entire contents.