Once I reproduced that error on a windows machine. It happens if pharos clock is behind the system clock. Creating a file results in a created tmestamp in the future. And comparing that time with "DateAndTime now" fails (now is smaller than the file timestamp). I couldn't find out, why pharos clock was behind, but somtimes this difference were several seonds.
Nicolai