Fix bug with multiple files for download in an order