download a pdf file from the form