Julian Assange put ‘allies of US at risk’ with secret file release