You know what I'm going to say here.... LIST COMPREHENSION

```erlang
[ FileName || Filename <- string:tokens(Output, "\s"),
              ".config" == filename:extension(Filename) ]
```