add upload file to mongodb