fix download file names downloads_ids ==> download_ids
construct a giant set of downloads ids from all files.