Change CharStreams to IOUtils.