Statistical Study of the Magnetic Field Orientation in Solar Filaments