openFile and saveFile are totally working