parsing mtn files