Court files reveal role of McCain, aide in spreading anti-Trump dossier