component WordCountComponent(file) -> out {
    void     : flow.Void()
    filename : flow.Init(data=file)
    file     : io.FileReader()
    counter  : text.WordCount()

    void.void > filename.in
    filename.out > file.filename
    file.out > counter.in
    counter.out > .out
}

src:WordCountComponent(file="words.txt")
snk:io.Print()

src.out > snk.token
