downloader now successfully downloading files. infinite download/upload loop needs to be fixed