Process each top-level statement in each file individually.

We see the list of infiles as if it were a transcript for a REPL
session.  We process each file and each line of each file individually,
completely, and successively so that any side effects that are observed
would be the same as for an equivalent REPL session.