Separate out attachments and raw urls