San Francisco Police Department officers recovered a document from the suspect that detailed his intentions, according to a filing.