Changed MidiFile.name to MidiFile.filename. (It makes more sense.)