code: def filter_db_names(paths: List[str]) -> List[str]:
      
      return [
          db_path
          for db_path in paths
          if VERSION_RE.match(os.path.basename(db_path))
      ]
docs: Returns a filtered list of `paths`, where every name matches our format.
  
      Args:
          paths: A list of file names.