I can write to file, but it writes over what is already there. How do I keep teh data already in the file and just add to it?