add a demo for creating a file