See Displaying a List of Attachments.