Text this: Probing the role of magnetic fields in star-forming filaments