Added method for getting the pdf from link...method is blank