I\'m trying to open a file in python and print a message when the file doesn\'t exist. But I\'m confused whether to close the file or not when the exception happens.