var mymodule = require('./module.js');
var path = process.argv[2];
var ext = process.arv[3];
var files = mymodule(path, ext, function(err, data) {
if(err) {
console.log("There has been an error.");
}
for(var j = 0; j < files.length; j++) {
console.log(files[j]);
}
});