A utility for performing mmap functions used in the donard codebase