start with attachments and softwares and done with file download for more detail checkout the attachments_controller/send-file