Clearing up some I/O