what happens if the file is closed just after a delay (e.g.. there is a sleep after these calls).  Will the modified time be the time set above, or the time of the close?