I am interested in listing all of my "input" and "output" files early in my code so that the list is easy to look at and modify. Is there a standard way to do this in Stata?

My best guess is to use global or local macros to store the text of the file path and then call upon those macros later when I need to import that specific data set. I'm not sure how this would work or if another approach would be preferred.