This is a 5-line method that you pulled in all of commons-io for :(