How to create .sol files from all the flash swap code

Dear members,

I would greatly appreciate it if you message me the tutorial to create complete .sol files for flash swap to be used in the remix site.

I have found all the codes for flash swap, at the Batch Swaps | Balancer
how I could create complete .sol files I could use it in the remix.ethereum.org.

I thank you for your cooperation.

Sincerely
B.Yohannes