gesture and save file tmp