Added file upload for attachments