Hello Michael,
I think without mapping it is possible, Might be modules should help.
Simple design would be create a one to one mapping, Since you will be having proxy structure already in place.
The Code returns the filename, Just map it to the required proxy structure field.