Rename all files to pXXX.* to match input file naming