code: def add_asset_hashes(self, path='dist/assets'):
  		
  		for fullpath in _listfiles(os.path.join(self.root_path, path)):
  			relpath = fullpath.replace(self.root_path + '/' + path + '/', '')
  			md5sum = hashlib.md5(open(fullpath, 'rb').read()).hexdigest()
  			LOG.debug('MD5 of %s (%s): %s', fullpath, relpath, md5sum)
  			self.asset_hash[relpath] = md5sum
docs: Scan through a directory and add hashes for each file found.