I never understood why Java never got some nice utility functions for dealing with common stream actions such as looping through an InputStream or slurping a text file. Every developer ends up carting around their own version of these functions when they should just be in the standard library. Many complaints about Java's verboseness have to do with this type of boilerplate that could easily be hidden away in utility functions.