Beginning in 1996 , defense lawyers working on appeals in death penalty cases were permitted to view all investigative files pertaining to the case , and in 2004 the same right was extended to the defense in all criminal cases .