Added recursive traversal and specifying a directory