rewritten pdf to text(iText) conversion so that it can parse receipt doc instead of table