in comparethread can't set value to widget,so we must check result.csv file has opened before start comparing