How to Insert a line into a text file