Moved create_mapfile() in mapfile.py