Easy handling of memory-mapped files