auto path = cocos2d::FileUtils::getInstance()->fullPathForFilename(“maps/ABC.MAPFILE”)
cocos2d::FileUtils::getInstance()->getStringFromFile(path);
// OR
cocos2d::FileUtils::getInstance()->getStringFromFile(path,[](std::string content){ }); // this will be async
you shouldnt load all maps into the ram if you dont need them yet, the loading of them should be fast enough to do it just when you need them.