here is my function
std::string MapFileToMemory(LPCSTR filename) { std::ifstream file(filename, ifstream::binary); //prepare iterator pairs to iterat