Using walk-directory instead of own-rolled recursion