PDF file download handling.