First implementation for an closed order file writer.