We need to call `CloseHandle(hFile);` here before returning.