code: def getFileDialogTitle(msg, title):
      
      if msg and title:
          return "%s - %s" % (title, msg)
      if msg and not title:
          return str(msg)
      if title and not msg:
          return str(title)
      return None
docs: Create nicely-formatted string based on arguments msg and title
      :param msg: the msg to be displayed
      :param title: the window title
      :return: None