read from_p2m file