Reorgenized CreateFile