@KevinH: I did a quick test and it appears that
bk.deletefile() now works as expected; it's also now possible to display
print() messages while the plugin is running, which is very helpful for displaying status messages while processing a large number of files.
Thanks for your hard work. You've made the plugin interface even more useful.