# New smell ### Smelly code ```py fp = open(path,args,kwargs) # Body fp.close ``` ### Fixed code ```py with open(path,args,kwargs as fp: # Body ``` ### Why is it smelly? Without a context manager you need to manually close the file, which is eror-prone.