moved file to another package
log some statistics
more configurable and count number of failed events