Code:
alias test { filter -fk $qt(aj\,%tnwork,.txt) _test }
alias _test { join $1 }


As long as you store one channel (and key if you like) per each line in the file, this should work fine.