Input-output handler