code: def write(self, target, *args, **kwargs):
          
          return io_registry.write(self, target, *args, **kwargs)
docs: Write this `SegmentList` to a file
  
          Arguments and keywords depend on the output format, see the
          online documentation for full details for each format.
  
          Parameters
          ----------
          target : `str`
              output filename
  
          Notes
          -----