complete the reading of the extremes from the file