try to send and download  files as pdf