Did some IO stuff