code: def load_version(fname: str) -> str:
      
      if not os.path.exists(fname):
          logger.warning("No version file found. Defaulting to 1.0.3")
          return "1.0.3"
      with open(fname) as inp:
          return inp.read().strip()
docs: Loads version from file.
  
      :param fname: Name of file to load version from.
      :return: Version string.