Very simple MIDI file parser