Since you're not doing anything with the error, I believe you could write this code like this:

```js
if (fs.existsSync(filePath)) {
  environmentSettings.push(require(filePath));
}
```

The try/catch block could be useful when nodejs can't parse the JSON files, in that case I believe you could call callback(error), no?