Read the points from a file.