<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_db_name(self, fname):
 """Return database filename"""

        return self.funcs.db_func(fname, self.outdir, self.exes.format_exe)[1]