set download_filename_new_monitor_noquotes_trimmed to text 2 thru ((download_filename_new_monitor's length) - (offset of "." in (the reverse of every character of download_filename_new_monitor) as text)) of download_filename_new_monitor