I am trying to import some data from a folder, it contains different type of files, and I just want the file with *.s2p suffix, how can I get all the filename with .s2p suffix? I use files in directory function, but it can only get all the filename.
fileNames = Files In Directory( directory );