Implemented handle_sys_read