Use the new try-with-resources