The command filesystem.listfiles is used to list the directory files by saving them in a file.
At this moment this command is not supported by Telium 2 terminals.
In the example above, a file called files.dat will be created, and this file will save the name and size of all files that are in the directory being analyzed, in this case the directory F.
As the command return is an integervariable, the command inttostring is used to convert the variable that will be displayed using the command display.