A PML file parser