memory mappings reading from file