Finished message file format and state machine