put the directory walker into it's own module