basic construction of save file action