I am new to the world of gardening/planting. I had a huge bag of potting mix that I bought from amazon last summer and used to plant some herbs. I used half of it back then and kept the rest in the bag. The bag had holes in it for breathing so I thought it would be safe to keep it out on the balcony over the winter (in a secluded area away from snow and rain) since I don't have a place for it in my apartment. Long story short, I was just checking the bag to get ready to plant new herbs for this season and I was shocked to see that the bag was full of tiny flying insects. 

I read online that it might be fungus gnats, but I didn't see anything online about them being in the bag itself. I was wondering if there is anything I could do about this issue or if I should throw away the bag and buy a new one? I would appreciate any input regarding this matter!

[![enter image description here][1]][1]

  [1]: https://i.stack.imgur.com/lazdu.jpg