Smart Data Solutions interview question

Two parts, one is implementing a file format conversion. Another one is debugging.