On the filamentary nature of solar magnetic fields