Putting the string UUID://XXXXXXXXXXXXXXXX// somewhere in the file is technically only supported for HTML and for Z-code and Glulx game files. I think in practice we check for that as a fallback in any file, text or binary. But since HTML can contain structured metadata, it’s better to use metadata.