Non-ideal magnetohydrodynamics of self-gravitating filaments uri icon