Add code for handling changing of srt file.