adding midi file opening and basic analysis