Write input to text file, line by line. Quits on 'q'
Line begins with formated input itme.