How to force xip files to use Archive Utility? When I try and open a .xip file macOS always opens it in TextEdit instead of Archive Utility even though the file is an archive.

The main file I'm having an issue with is the xcode.xip which is from Apple's website.
In Finder:


Select the file
Press cmdalt/optI
The file inspector opens. Press the triangle for 'Open with:' and select Archive Utility.
Select 'Always open with' and confirm the dialog box.