def match(self, filepath):
        expected_headers = ['Group', 'Title', 'Username', 'Password', 'URL', 'Notes']
        with open(filepath) as csv_file:
            reader = unicode_csv_reader(csv_file)
            try:
                headers = next(reader)
            except StopIteration:
                raise ValueError('empty csv file: %s' % filepath)
            return headers == expected_headers
        return False
dataset/ETHPy150Open marcwebbie/passpie/passpie/importers/keepass_importer.py/KeepassImporter.match/original