The list command lists files in a given directory. The listing is loaded into the flow as a payload (where each filename is listed in an array).
Need to know
Regular expressions are not supported for the list command - it should only be used to list all files in a given directory. If you need to work with a specific group of files, you may find the get command useful.