Function to read an SMS .map file (useful to extract a coastline, for example)