CreateFile returns WriteResult