The following code will create an empty file if a file with the supplied path is not found:
std::ifstream file; file.open(path, std::ios::in | std::ios::binar