moving channel obj to a file