So, to summarise ("summarize" in the US) you want to
1. Check the last-written date of c:\temp\script_test.txt (just that file or also c:\temp\test_script.txt?)
2. Establish if the date was today or not.
Is that correct? Please clarify how many file dates you wish to check, and if more than one, what you want the trigger to be? Either? Both?