check tmp file timestamp.