Update file format and aggregation logic.