check tmp file exist