Made the output midi file name configurable