for f in cont.get('files', []):
            if f['name'] == filename:
                return f