Hi @Jan Porowski ,
Thanks for posting your query on MS Q&A portal.
You can try concatenate the whole folder path in the derived column transformation where you are forming the file name, like below -
this should derive to a string with the whole folderpath plus filename.
Please try this and let us know how it goes.