Please pass the `map` function inline: `paths.map(function(filePath)…`; also, use camel case var/method naming