Fixing bug where pfile23 was used for pfile24