This page refers to an Arma 2: DayZ Mod weapon attachment.
The Weapon Flashlight can be attached to weapons such as the Mod:Mosin-nagant and used as illumination at Night. This can be accomplished by having both the Flaslight and the Rifle in your main inventory, and then clicking "Attach" on the Flashlight. This (Should) add the flashlight to the weapon. Please note that this will not work with normal Mod:Flashlights.
Although the Flashlight can illuminate large areas, the beam is highly visible from up to a Kilometer away, and can sometimes be viewed from even further distances, (Depending on fog) and it is advised to only use it for short periods, or for Signaling.