A map file is a file in which there is a map encoded in ASCII art.
~ --> SHIP
o --> WATER
Function to fill the map given a file.