add user_id and desired filename to newAttachment