How can I process all the files with \".xyz\" extension in a folder? The basic idea is that I want a list of file names and then a for loop to load each file.
Use dir() to obtain a list of filenames. You can specify wildcards.