I need help with the pnts file format.

It could be a problem with the same file. Which test.pnts file are you referring to?