fixup: make pcap read from the file