Split example into separate file