Progress on .dat parser. Currently broken.