Update CSV/DAT file storage

may not work properly LOL