Io improvements

I think it should be an iterator, not a function that might traverse an entire file system.