Updated CreateFile