The Sepsidae are a family of flies, commonly called the black scavenger flies or ensign flies. Over 300 species are described worldwide. They are usually found around dung or decaying plant and animal material. Many species resemble ants, having a "waist" and glossy black body. Many Sepsidae have a curious wing-waving habit made more apparent by dark patches at the wing end.
Read article on Wikipedia