Magnetic interaction between two superconducting filaments