It's a convert to try-with-resources