code: def _overlapping(files):
      
      segments = set()
      for path in files:
          seg = file_segment(path)
          for s in segments:
              if seg.intersects(s):
                  return True
          segments.add(seg)
      return False
docs: Quick method to see if a file list contains overlapping files