added the file traversal feature
called the trav_dirs()