SSP-1903 and SSP-1920 added Batch finalizer to clean up files and archive processed files