def write(self, name='fullfile.csv'): stitch = Stitcher(self.fpath) files = len(self.successful) - 1 try: stitch.import_vf(files) except Exception as e: print("VF files failed. Reason: {}".format(e)) try: stitch.import_franklin() except: print("Whoops, no franklin.") try: stitch.import_hamilton() except Exception as e: print("whoops, no Hamilton: {}".format(e)) stitch.write(fname=name)