They are actually sciarid flies, the course of action suggested will kill the flies as they emerge from the compost.Or you could water with spray strength Malathion which will kill the larvae which are like tiny maggots. Steve.