support for mmaped files