I am working on a script that will find the most recently written file and then copy it to a different folder and rename it. I have the script. For some odd reason when I