Without the correct filename extension, macOS appears unable to associate files with apps, preview then using QuickLook, or index them for Spotlight. But there’s more to determining file types than extensions, there’s also a little magic involved.