changed mmap flag from PORT_READ to PORT_WRITE
alled the ability to recover deletedRecords