How to parameterize file upload in API post request

How to parametrize File upload scenarios with multiple file types in Testcase
For Single request its is working fine, have to upload with different multiple file types
same request for text file upload
same request for doc file upload
and so on…

I don’t understand the trick, if some one could possible share the code

image