add script to recursively analyze a directory by file extension