address review comments (PR #25):
rename cgutils.h to directorytraversal.h