To create Extract from File records from Google Sheets without manual input, use a ready-made scenario.
You can launch this Google Sheets + Extract from File integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.