[red-knot] Add walk_directories
to System
#12297
Merged
walk_directories
to System
#12297