got progress bar working, downloading file in chunks