Clear history upon loading file