var dwcareader = require("../index.js");
var dr = new dwcareader();

var path = "";

dr.getArchive('http://images.cyberfloralouisiana.com/archives/dwca-no/dwca-no.zip', 
path, 
null, 
function(error, msg) {
  if(error) {
    console.log(msg);
	}
});

var config = {
  host: "localhost",
  port: "1000",
  db: "database",
  table: "table"
};

dr.import2mongo(config, function(err, res) {
  if (err) {
		console.log(res);
	} else {
		console.log("Total records read into the mongodb:", res.count);
    console.log("It took", res.read_time, "seconds to read the file(s).");
    console.log("It took a total of:", res.total_time, "seconds");
	}
});
@@ -65,107 +65,129 @@
 ();%0A
-%0Avar path = %22%22;%0A%0Adr.getArchive('http://images.cyberfloralouisiana.com/archives/dwca-no/dwca-no.zip'
+/*%0A var url = 'http://%7Barchive%7D/%7Bname%7D.zip'%0A var path = '/Users/username/Docs/temp';%0A*/%0Avar path = %22%22;%0A%0Adr.getArchive(url
 , %0Ap
@@ -651,16 +651,17 @@
 econds%22);%0A%09%7D%0A%7D);
+%0A

Update mongoTest.js