Dear developer,
I only find the command about the path of files of DICOM, how can I find the path of data added to slicer, by the way, I also want to know the command of  loaded the generated anatomical tracts into the Slicer.
Here is my code,
# Input file selector
#
with It(qt.QLineEdit()) as w:
    self.inputFileSelector = w
    w.setReadOnly(True)
    w.setToolTip("Select input file")
def selectInputFile():
  inputFile = qt.QFileDialog.getOpenFileName(self.parent, "Select input file")
  if inputFile:
    self.inputFileSelector.setText(inputFile)
def executeTractography():
  storageNode = node.GetStorageNode()
  if storageNode is not None: # loaded via drag-drop
    self.inputFileSelector = storageNode.GetFullNameFromFileName()
  
with It(qt.QPushButton("Browse")) as button:
    button.clicked.connect(selectInputFile)
with It(qt.QPushButton("Execute")) as executeButton:
    executeButton.clicked.connect(executeTractography)
layout = qt.QHBoxLayout()
layout.addWidget(self.inputFileSelector)
layout.addWidget(button)
layout.addWidget(executeButton)
parametersFormLayout.addRow("Input File:", layout)
Best wishes,
Joshua