figured out why munmap was crashing. Now need to figure out how to write to the file when we are unmapping something