@Override
        public void close() {
            try {
                baos.close();
            } catch (IOException e) {
                fail("Test failed: " + e.getMessage());
            }
        }
read a text file into a string array
vespalog/src/test/java/com/yahoo/log/VespaLogHandlerTestCase.java