Oh. Why not keep seperate .dat files for each section? CastleA-RoomA.dat CastleA-RoomB.dat CastleA... Would that work?