Added support to recursively analyze a directory.