python file for getting pdfs