code: def name(cls, func):
           
          cls.count = cls.count + 1
          fpath = '{}_{}{}'.format(cls.count, func.__name__, cls.suffix)
          if cls.directory:
              fpath = os.path.join(cls.directory, fpath)
          return fpath
docs: Return auto generated file name.