docs: function readdir(path) {
  	var stats = fs.lstatSync(path);
  	var files = null;
  	if (stats.isDirectory()) {
  		fileNames = fs.readdirSync(path);
  		files = _.map(fileNames, function(f) { return path + '/' + f; });
  	} else {
  		files = [];
  	}
  	return files;
  }