added ifdefs to implement file mapping for windows implemented file mapping for windows, but did not compile yet (no windows available...)