I understand. All output files have the prefix defined by outputroot, e.g. 'myoutputroot_' and the code i implemented acts such that all the files starting with 'myoutputroot_' are collected as outputs. A problem arises if 'myoutputroot_' corresponds to the prefix of existing files in the current directory, say 'results_' and therefore, also unlikely, unwanted existing files could be collected as outputs. The solution i came up with was to create a subdirectory 'procstream_outfiles', by appending this name to outputroot. Do you you still think this not a good solution?

An alternative would be to create the subdirectory 'procstream_outfiles', change to this directory, run the interface, then go back to the parent directory and collect all the outputs. What do you think?