add pcap file read API