You can either produce a separate .fem for each run, or you use a .fem file in ASCII format and edit it (manually or autmatically by a script) before each run. You can also use tools like PEST for automatically editing .fem files for each model run, starting FEFLOW in batch mode then.