add a tmp file.