Finish implementing .dec parsing and writing