createfile by stream