Create writeShiftxFile.m