Try with resources.