Allow target.files to be a function

Allow the `target.files` option to be a function that returns a string or an array of files and/or minimatch patterns.
This allows for dynamic evaluation during initial set up, and on reload.