Parameterised classes

In reply to dave_59:

Sorry, I probably did not explain clearly enough.
I want to get an array containing file names, I do not know how many names will be, for example:
names_file_array = {“input1.txt”,“input2.txt”};
it’s can be also:
names_file_array = {“input1.txt”,“input2.txt”,“input3.txt”,“input4.txt”};

external_reference_model#(.EXPECTED_OUT_FILES_NAMES(names_file_array)) ext_obj;
^
I dont know how many names it will get