Handle static resources as attachments.