use In_channel.with_file.