saving the delivery and returns content to a separate file