code: def sieve(cache, segment=None):
      
      return type(cache)(e for e in cache if segment.intersects(file_segment(e)))
docs: Filter the cache to find those entries that overlap ``segment``
  
      Parameters
      ----------
      cache : `list`
          Input list of file paths
  
      segment : `~gwpy.segments.Segment`
          The ``[start, stop)`` interval to match against.