Recursively requires directory contents to flat object.