You don’t need bash to traverse a file system, are you saying something else?
You don't need bash itself. Substitute any shell, Python, whatever.