Hot answers tagged diagramming
Either activity diagram or sequence diagram (they are pretty much two views of the same thing). (EDIT: whoops in earlier text I was confusing correlation diagram with activity diagram; they are really similar. Either it's been too long, or else there are just too many damn diagrams available. ;) ) Sequence diagrams have notation for looping; the message ...
The file will be a message between these timelines. They will send it to each other. But IMHO the sequence diagram on that low level for so simple tasks is excessive. Or the coder doesn't know, that he should read item and after that put it into a list?
Only top voted, non community-wiki answers of a minimum length are eligible