example of joining input streams with guava