added pfile reader to initialization