Split IO objects out into separate file.