code for reading a file line-by-line through a channel, - for relvis-server