How can I compile a list of point coordinates in a file?

This is base on a question that was posted in the SWYM community by Keith Dennison.