They're obviously fly larva. The adult is a tiny gnat, and they spread from tank to tank like wildfire. When you open the lid, a dozen or so little flies come flying out, right? Good snack for little fish. You do not get rid of them. They are good for your tank.