The format of a Standard MIDI File (SMF) contains a header "chunk" at the beginning that defines the type, followed by one or more track chunks. Type 0 files store all tracks in one track chunk.