They come from parent flies. Some lay eggs which hatch into maggots, ( there are lots of species). The big brown flies here actually give live birth, if you squash one live maggots come out. My ex discovered this early on in our Australian sojourn and has never forgotten it.
There is pretty much bugger all you can do about them but a South African chappie came up with a brilliant invention called the Red Top Fly Trap. It consists of a strong four litre bag attached to a lid with a gauze funnel. The bag is baited with a meat meal concoction and hung out in the sun.
They are extremeley effective but have one really bad drawback and that is the stink. However if you can put up with it it is very rewarding to watch it fill with drowning flies and a sea of contained maggots. I filled a four litre one in three weeks in Bathurst. That is a hell of a lot of flies.
Made bugger all impact to the general population but gave me a lot of satisfaction