I have 13 filenames and i want to pass them as argument in sh

File is like:

```
$FILEPATTERN = "XYZ_"

FILENAME1="$FILEPATTERN${somedate1}_{sometime}.csv"
FILENAME2="$FILEPATTERN${somedate2}_{sometime}.csv"
FILENAME3="$FILEPATTERN${somedate3}_{sometime}.csv"
...
FILENAME13="$FILEPATTERN${somedate13}_{sometime}.csv"

for g in 1 2 3 4 5 6 7 8 9 10 11 12 13
do
  filenewname=FILENAME${g}
  sh $SCRIPTS/$SCRIPTNAME $filenewname
  filenewname=""
done

```

when i echo the filenewname, it is printing `FILENAME1`, `FILENAME2`....

Expected output should be value inside variable `FILENAME1` i.e `$FILEPATTERN${somedate1}_{sometime}.csv`