Example of deferred.gate with file recursion

With this example I'm interested in both contributing and having a check on the way it is done.

It's very important for me that the `indexDocs` method returns a promise so that it can be chained later on.

Cheers!