Runtime: io cleaning

io use mlfile

runtime: flatten channel