I wanted a way to break before iterating each directory. Do you have any other recommendations for doing that?

Also I think eachFile should switch from having many params to one options param. What do you think?