// Component with argument

component ArgWrapper(sourcefile) -> out {
  """
  This component wraps an actor and passes an instantiation parameter to the wrapped actor
  """
  /* FileReader takes input parameter 'file' */
  s:io.FileReader()
  sourcefile > s.filename
  s.out > .out
}

src:ArgWrapper(sourcefile="data.txt")
snk:test.Sink()

src.out > snk.token

