You're going to want to start transitioning your plant from grow to bloom at this point as she's probably already doing that.... definitely get some bloom nutes and the top max... get some calmag while you're at it and think about a PK booster like General Hydroponics KoolBloom liquid...
Flies CAN be a problem... you say they're small so I'm thinking they're not houseflies and might even be fungus gnats... they could be anything and without a picture, I can't tell but in order to be safe, I would order some Dr. Zymes Eliminator from Amazon while you're getting your nutes.... it's organic and can be used throughout the grow with no ill effects except to the damaging insects... it will take care of the adults, larvae and eggs of whiteflies, spider mites, aphids and thrips... plus it's a fungicide ... great stuff and you should always have some on hand! If they're fungus gnats, grab yourself some Mosquito Bits and use as directed... you just soak the granules in water and then use the water for your plant.
Good luck!