move the 'digest' method off of the source file and onto the asset file

Fits better on this model.  Sets up the future file store pattern
for handling writing output files.

No major behavior change - just moving logic to a more appropriate
location - a reorg.

@jcredding ready for review