parse subtitle file.