Added check for dead file on reset