docs: def clean(cls, path):
          '''Clean up all the files in a provided path'''
          for pth in os.listdir(path):
              pth = os.path.abspath(os.path.join(path, pth))
              if os.path.isdir(pth):
                  logger.debug('Removing directory %s' % pth)
                  shutil.rmtree(pth)
              else:
                  logger.debug('Removing file %s' % pth)
                  os.remove(pth)