nautilus and gtk do use the filename to list directories because opening and reading content for every single file in the directory you browse is quite ressource expensive compared to using the filename, the detection uses the content when selecting though which is when you need to confirm the mimetype to use the correct software
nautilus and gtk do use the filename to list directories because opening and reading content for every single file in the directory you browse is quite ressource expensive compared to using the filename, the detection uses the content when selecting though which is when you need to confirm the mimetype to use the correct software