added support only for .pcap and .gz