What is the accumulator argument used for here? `FileId` seems to come in as `0` but becomes `ok` after the first iteration.