sorry for the late reply. I changed the path and I was able to execute the command but i am below error.
2020-09-20T06:31:58.870-0600 W NETWORK [ReplicaSetMonitor-TaskExecutor] Unable to reach primary for set cluster0-shard-0
*** It looks like this is a MongoDB Atlas cluster. Please ensure that your IP whitelist allows connections from your network.
2020-09-20T06:31:58.875-0600 E QUERY [js] Error: connect failed to replica set cluster0-shard-0/cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017 :
2020-09-20T06:31:58.890-0600 F - [main] exception: connect failed
2020-09-20T06:31:58.890-0600 E - [main] exiting with code 1