script to find sitename from a data file name