The file attachment field can be repeating, or you can have an attachment field in a repeating group, if that is the question? You can also have different file attachment nodes and use the command for each of them, just changing the /xpath parameter.
Hilary Stoupa