download and save data