Add example and fix file save