add attachment model for file upload.