When manually open a file a "source" script is added to the table but it can only open the file that was selected during the open selection.
The script deletes the path and replaces it with a for loop and a file selection. It also tries to concatenates all the tables.
There is an option to add a new script to the table or save it as a script file.
The table selector is based on script by @ian_jmp