parse points from file