no idea about sending patches to text files, but here's what i would do:
go back to your idea of using abstractions, but give each abstraction only one creation argument.
so, patch one has a creation arg of 1, patch 2 = 2, and so on.
then just use [route $1] to send different params to each instrument.