parse data using bufio instead of channel.