Formatting of the OrderHistory file