This is a scoping issue. This will only download the last file because `client.getFile()` is *asynchronous*. Essentially the `for` loop will complete before `client.getFile()` completes. 

The easiest thing to do here is switch to the `async` module's `forEach` function. Then, you can run all the downloads in parallel and then collate the results.

This is a great idea, and I would definitely like to add support for wildcard/recursive downloads.