When checking for a condition of 'younger-than' filectime is used, that causes the check to return false results on Windows system, as it checks for original file creation date which never changes. The fix would be to use filemtime that has a correct last file modification date of the original file.