Add file save to example