How to stream light through windows

How to use the Gradient Tool and Layer Masks to create the effect of light streaming through a window.

Download the Photoshop file