Added the ability to pass in an alternative file system implementation when walking a directory.