In python we generally don't ask for permission. Maybe the C++ side should raise an exception (or return false) if the file supplied is not found, then we catch that here?