code: def createFromFileName(cls, fileName):
          
          # See https://julien.danjou.info/blog/2013/guide-python-static-class-abstract-methods
          #logger.debug("Trying to create object of class: {!r}".format(cls))
          basename = os.path.basename(os.path.realpath(fileName)) # strips trailing slashes
          return cls(nodeName=basename, fileName=fileName)
docs: Creates a BaseRti (or descendant), given a file name.