add example file in resources/doc