PM mapping of files - first attempt