Merge pull request #561 from Andr3as/master

Fixes "this.rescanChildren is undefined"
Allows plugins to modify the file list