That was helpful. I ran into a similar issue. Had to close the file I wrote to, then re-open it with "r" (read) in order to copy over the text into another file.