GET of public pdf file now working. Messy code, needs cleaning. Too slow.