parsing mm files