Extracted data io in separate module (DRY).