I'm wondering if we could do this using input/output stream?
i.e. these methods work with IS/OS. And we have an utility, which takes from IS -> StringBuffer; etc. Maybe this even exists in commons...