Untested implementation of download