'Load and save the given file. (taken from test_contentstore)'

def save_asset(self, asset_key):

    with open('{}/static/{}'.format(DATA_DIR, asset_key.block_id), 'rb') as f:
        content = StaticContent(asset_key, 'Funky    Pix', mimetypes.guess_type(asset_key.block_id)[0], f.read())
        self.store.contentstore.save(content)
