set file time when file is deleted