Added progress bar on "download" and "upload" functions