downloading of assets to local storage working