Simulations of magnetic fields in filaments — arXiv2