put cid file in tmp