Updated code to send cli data as file attachment to support