IO operations is now using context managers