I am trying to get this:

to look like this:

I've tried several different things but can't seem to get it to work. Usually I would just use a formula tool to combine the IDs into one field with a delimiter and then use a parse tool to parse to rows. However, this is affecting the data because it's then assigning both IDs to both file names which duplicates the data and isn't accurate.
Any suggestions? I have the text input attached.