Use defined ErrStopIteration. Return GenericFiles, not Files.
bag record worker now saves generic files in batches