c for creating example file