Added reader/writer support, rotating map files needs implementing.