Save/Load map by Prolog