Update genflist tool to search recursively