pass an object to each callable returned by recursively loading files