Moved iotools.open_file() onto IOManager.