If i'm opening a text file for editing and i want to take
text line by line and edit it, how do i put the text back
into the file line by line after I have edited it?