Added attachments to downloads model
Edited file link helper