Illustrator files (.ai) and InDesign files (.indd) appearing as Word files in Finder 'Kind'
My Illustrator files (.ai) and InDesign files (.indd) are appearing as Word Files (under 'Kind') in Finder - I can't open .ai or .indd file inside an application, without going into Finder and changing the file Kind. I have thousands of files this has happened to. How do I mass change all the .ai and .indd files to their correct kind (not Word!). All files are saved in iCloud.
iMac 21.5″, macOS 10.13