Added error callback for invalid pdf file