How can i recursively search within a directory to extract h5 file headers

This has come up before. glob does not search recursively through the entire directory tree–but rather merely one level below the starting directory. See this post for true recursive solution using the walkdir function.