Is it possible to parse a party name from text in DAML script

I actually wrote a full example that uses partyFromText by reading the parties (as Text) from input files here. I guess what @cocreature means is you could type the inputs as Party directly and thus avoid the call to partyFromText.