Save file switched to pys interface