code: def load_initial_files(self, locations, in_tab_pages=False, hsplit=False, vsplit=False):
          
          assert in_tab_pages + hsplit + vsplit <= 1  # Max one of these options.
  
          # When no files were given, open at least one empty buffer.
          locations2 = locations or [None]
  
          # First file
          self.window_arrangement.open_buffer(locations2[0])
  
          for f in locations2[1:]:
              if in_tab_pages:
                  self.window_arrangement.create_tab(f)
              elif hsplit:
                  self.window_arrangement.hsplit(location=f)
              elif vsplit:
                  self.window_arrangement.vsplit(location=f)
              else:
                  self.window_arrangement.open_buffer(f)
  
          self.window_arrangement.active_tab_index = 0
  
          if locations and len(locations) > 1:
              self.show_message('%i files loaded.' % len(locations))
docs: Load a list of files.