Yes, it does.
But seriously, don't tell Tarks. He hates flies. I had the same problem with my outside bin. I had to pressure wash it in the end.
Put a banana skin in a plastic sandwich bag, let the flies congregate inside, then close the top and squash. Repeat as required.