use new dir functions for findFile