Here’s what I found.
A file format: A format for encoding information in a file. Each different type of file has a different file format. The file format specifies first whether the file is a binary or ASCII file, and second, how the information is organized.¹
A little Python and a lot of curiosity can go a long way: