Optimize the code, the same file data saved only once
Merge pull request #313 from dreamsxin/gridfs

Optimize the code, the same file data saved only once