$file1 =~ /\btemp\W\w)/; # temp is not the filename