Is it ok to get/set the time with the file still open?  Should it clear iFileIO first?