recreate the map file