pub fn read_loop( infile: Option<&str>, stats_tx: Sender<usize>, write_tx: Sender<Vec<u8>> ) -> Result<()>