moving pdfbox calls from parser to bridge.