Reset variable after loading file contents