creating and deleting of file