parser for pif