add anti-race condition
include file stat in signature