:cop: clean up open/close f()s