Can also probably be done in a try-with block