Added support to print text or extract text from pcap(buggy)