Chaotic magnetic field lines and spontaneous development of current sheets