Get the recursive contents of a directory.