add a tmp file