Correct modification time checking code
Doesn't need to be async