Added clear count after opening new file.