provide 'onlyIf' option to allow control over which files will actually be copied.