Magic
From Just Solve the File Format Problem
I'm sure there are all sorts of almanacs with custom notation that talk about magic, but this page exists to talk about (and link to/from elsewhere on the wiki where needed) the convention of using the first few bytes of a file to notate/detect the reported format, "as is by magic" (actually by table lookups).