<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def format_filename(self, data, row):
 """ Returns a formatted filename using the template stored in self.filename - `data`: vaping message - `row`: vaping message data row """

        return self.filename.format(**self.filename_formatters(data, row))