Shell script for restoring the BSON files to mongod