Gave readPDF a callback