Add support for pcap-file reading.