Download a file from a button click