TESTDATA_BETA$CurrentVal[1]_DEFL$CurrentVal[2].$CurrentVal[0] #### $OutputFileFormat =~ s/\$(\w+\])/${$1}/g