`download` func add parameter `ids` to record all the files need be downloaded