Allows plugins to modify the file list

Used by [Codiad-Ignore](https://github.com/Andr3as/Codiad-Ignore) to solve #560