removed sample serial write, added file read, added serial write of line