How do I print the attachments of a result?