<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def filenames(self):
 """ Assuming sources are paths to VCF or MAF files, trim their directory path and return just the file names. """

        return [os.path.basename(source) for source in self.sources if source]