Created method to append line of text to beginning of file.