Hi Pavan,
Welcome to the MongoDB forums!
I think you need something like: mongoimport. An example command would be:
mongoimport --uri "mongodb+srv://cluster0.your-cluster-here.mongodb.net/" --username your-user -d harddrives -c hds --drop --stopOnError --jsonArray data/players22.json
Where harddrives is the database and hds is the collection where we are importing.
Hope this helps