docs: def delete(self):
          """Delete a file.
  
          The base directory is also removed, as it is assumed that only one file
          exists in the directory.
          """
          fs, path = self._get_fs(create_dir=False)
          if fs.exists(path):
              fs.remove(path)
          if self.clean_dir and fs.exists('.'):
              fs.removedir('.')
          return True