Fix server reset to clear files scope