<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_record(self, record):
 """Build a bundle from a CertStore record"""


        self.record = record
        self._setup_tls_files(self.record['files'])
        return self