Court papers say the former graduate student accused in the Colorado movie theater shooting was being treated by a psychiatrist at the university where he studied.

The revelation was disclosed Friday in a defense motion. The motion sought to discover the source of leaks to some media outlets that a package that James Holmes sent the psychiatrist contained a notebook with descriptions of an attack.

The motion says the package contained communications between Holmes and his psychiatrist that should be shielded from public view.