in reply to Trouble finding/reading from text file
Update: Also noticed something strange with your regular expression:
... /\$start_year$start_month$start_day$test_site\E/i); ^^? ^^? [download]