@folders=glob("*"); #to get all folders in directory; extension ("*") as wildcard to get all names
foreach$folder(@folders) #to speak to each element in directory
{
next if ($folder!~/^UNITAS_/); #skip elements which do not start with "UNITAS"
####
# to get UNITAS_* folders in directory
my @folders = glob "UNITAS_*";
# to speak to each element in directory
foreach my $folder ( @folders )
{
####
$head=; #remove the first four lines of the trf-table.txt file
$head=;
$head=;
$head=;
####
undef = ; #remove the first four lines of the trf-table.txt file
undef = ;
undef = ;
undef = ;
####
# remove the first four lines of the trf-table.txt file
undef = for 1 .. 4;