save attachment data
save attachment file to note mongodb data