Agency First Acted on Its Own to Broaden Spying, Files Show