Download data in user selecte file-type