Abstraction for walking over files in a directory.