returning the data as a memory map allows to read parts of an array without having to load the entire array into memory