These larve/flies are found where drains tend to have dirt/slime/effluent and once they get in can multiply quite quickly. That's why I suggest getting the drain jetted/cleaned.
You could also use buckets of boiling water and disinfectant with Bicarb/vinegar
You could also use buckets of boiling water and disinfectant with Bicarb/vinegar