legal ground
Article 169 of the Criminal Procedure Law
All cases requiring public prosecution shall be examined and decided by the people's procuratorate.
Article 40
From the date when the people's procuratorate examines and prosecutes the case, the defense lawyer may consult, extract and copy the case file. Other defenders may also consult, extract and copy the above materials with the permission of the people's court or the people's procuratorate.