If you try to upload already existing file, it will show the required message (which was previously shown; but due to a bug it was giving server error).
Merge pull request #549 from AvadootNachankar/mongokit

Bug resolved: In showing already uploaded file message