exit if not yaml