midiFileOpen function prepared