<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_all(self):
 """ Write out all registered config files. """

        [self.write(k) for k in six.iterkeys(self.templates)]