YOu will need to share your inputs into your Crreate File. Clearly you are creating a file for every attachment which is great and super easy, but you have so many filter array's and other actions that you are building up the wrong details to be used later on
We cannot tell that from the closed flow actions. What you need to do, is go through the flow run you have attached, open Each action, and see what input and ouputs it creates.
One of them is causing you to generate a path with the file name.
I know this to be true, because the Get Attachments action is not giving yuou a location in some share to use, so its your expressions doing it (aka a bug).
Walk it through slowly you will see it I promise
If this helps please Mark as such and maybe a like.
If you need more help please share all actions in the above run with inputs and outputs.