use guava CharStreams