Allow bucket emptying

This absence really annoyed me when the input bucket was filled with hunderds of test files during development. So I decided to address it ;)

@snorberhuis