Handle map file manipulation