APL loads imagedir and ori list from p2m file