def _get_file_and_save_it_to(self, file_path, directory=None):
        directory = directory or os.getcwd()
        with contextlib.closing(self._conn.get_file(file_path)) as src:
            dst_path = os.path.join(directory, src.name)
            with open(dst_path, 'wb') as dst:
                shutil.copyfileobj(src, dst)
                return dst_path
Initializes the form generator
dataset/ETHPy150Open s3rvac/retdec-python/retdec/resource.py/Resource._get_file_and_save_it_to--crossover with--dataset/ETHPy150Open kvesteri/wtforms-alchemy/wtforms_alchemy/generator.py/FormGenerator.__init__