fixed options and updated multi mid file reading.

fixed options and updated multi mid file reading.