groovy

File.getText() should close the streams