code: def update_fname_label(self):
          
          filename = to_text_string(self.get_current_filename())
          if len(filename) > 100:
              shorten_filename = u'...' + filename[-100:]
          else:
              shorten_filename = filename
          self.fname_label.setText(shorten_filename)
docs: Upadte file name label.