First, you're assuming there's something TO discovery, which may not be the case. Second, in order to obtain any relief for failure to comply with discovery, you have to 1) provide your discovery to the other side and then 2) file a formal motion to compel. See Penal Code section 1054.5.