Why Do Flies Follow Me?

They just seem to waste energy following me around. What do they gain from this behavior?