Demonstrated try-with-resources