IO operations wrapper