download datasets if requested through html