It would be nicer to have filter right after `readdir`, then you don't need to stumble over `null`'s in `addModifiedForFiles`.
So:

```javascript
readdir(path).filter().map().map(addModifiedFiles)
```
and probably both map calls can be simplified and merged into one.