"Scriptotherapy" consists of therapeutic writing that can be used to cope with traumatic memories. The term was coined by Suzzette A. Henke in her book "Shattered Subjects". In it, she explains the healing powers of writing which helped her to overcome traumatic experiences.
This sort of treatment was used by Vietnam veterans such as Tim O'Brien.