Update SFile handle for each loop in Test