demo of file operat