Writing New .DAT Files