Network Rail says its “thoughts are with the families of our colleagues and our members of staff”.