I've done a proof of concept
You have to change the inject to match the name of your flow and change the 1st file node to the name of your flowsxxx.json file (and change the 2nd file node to filename you want to save it it to)
It basically scans the flowsxxx.json file looking for name of the flow - when it finds it - it saves it into flow.flowID and then 3 seconds later, it collects all the bits of the flowsxxx.json file that belong to that flow.flowID
[{"id":"52cc66a7.003278","type":"inject","z":"44b61ea7.e0f69","name":"","topic":"","payload":"Flow 14","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":90,"y":120,"wires":[["f03cc5e0.de1578","fed764ff.b253a8"]]},{"id":"5042d81e.09eb78","type":"file in","z":"44b61ea7.e0f69","name":"","filename":"flows_win8.json","format":"utf8","chunk":false,"sendError":false,"x":520,"y":120,"wires":[["f78e8ec.6793f7"]]},{"id":"f03cc5e0.de1578","type":"change","z":"44b61ea7.e0f69","name":"","rules":[{"t":"set","p":"flowName","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":310,"y":120,"wires":[["5042d81e.09eb78"]]},{"id":"d7fac159.078cc","type":"debug","z":"44b61ea7.e0f69","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":1150,"y":160,"wires":[]},{"id":"73551d26.65b494","type":"split","z":"44b61ea7.e0f69","name":"","splt":"","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":830,"y":120,"wires":[["28974b2b.09e8a4","b015a0fe.ab264"]]},{"id":"f78e8ec.6793f7","type":"json","z":"44b61ea7.e0f69","name":"","property":"payload","action":"","pretty":false,"x":690,"y":120,"wires":[["73551d26.65b494"]]},{"id":"28974b2b.09e8a4","type":"switch","z":"44b61ea7.e0f69","name":"","property":"payload.label","propertyType":"msg","rules":[{"t":"eq","v":"flowName","vt":"flow"}],"checkall":"true","repair":false,"outputs":1,"x":990,"y":120,"wires":[["d7fac159.078cc","6bf47b3a.1e4864"]]},{"id":"6bf47b3a.1e4864","type":"change","z":"44b61ea7.e0f69","name":"","rules":[{"t":"set","p":"flowID","pt":"flow","to":"payload.id","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1160,"y":120,"wires":[[]]},{"id":"b015a0fe.ab264","type":"delay","z":"44b61ea7.e0f69","name":"","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":220,"y":220,"wires":[["4d8797b2.ab31f8"]]},{"id":"4d8797b2.ab31f8","type":"switch","z":"44b61ea7.e0f69","name":"","property":"payload.z","propertyType":"msg","rules":[{"t":"eq","v":"flowID","vt":"flow"}],"checkall":"true","repair":false,"outputs":1,"x":410,"y":220,"wires":[["40889b4f.f59414"]]},{"id":"40889b4f.f59414","type":"join","z":"44b61ea7.e0f69","name":"","mode":"custom","build":"array","property":"payload","propertyType":"msg","key":"topic","joiner":"CYCYCY","joinerType":"str","accumulate":false,"timeout":"5","count":"","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"num","reduceFixup":"","x":610,"y":220,"wires":[["118b540b.a6f74c"]]},{"id":"4b4cfe58.dff8c","type":"file","z":"44b61ea7.e0f69","name":"","filename":"test.json","appendNewline":true,"createDir":false,"overwriteFile":"true","x":1000,"y":220,"wires":[[]]},{"id":"118b540b.a6f74c","type":"json","z":"44b61ea7.e0f69","name":"","property":"payload","action":"str","pretty":false,"x":750,"y":220,"wires":[["4b4cfe58.dff8c","d7fac159.078cc"]]},{"id":"7e99b906.d5f948","type":"inject","z":"44b61ea7.e0f69","name":"","topic":"","payload":"Hello World","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":110,"y":40,"wires":[["73a4cddf.408034"]]},{"id":"73a4cddf.408034","type":"debug","z":"44b61ea7.e0f69","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":290,"y":40,"wires":[]},{"id":"fed764ff.b253a8","type":"change","z":"44b61ea7.e0f69","name":"","rules":[{"t":"set","p":"flowName","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":130,"y":160,"wires":[[]]}]