Reduce stack space by eliminating recursion.  Stack overflows are
possible with large classpaths containing individual files.