Will require a directory recursively and return a nested object