first version of tool supporting the traversal of docs in a dir