General cleanup of map files.