added pdfgrep function