<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate_loader(self, mapfile, names):
 """ Build loaddata commands """

        return self.build_template(mapfile, names, self._loaddata_template)