Download and handle PDFs the same way as with images