started to add file transmit and read line functionality