async function execute({fileName}, replMod) {
const file = replMod.readFile(fileName);
const commands = file.split('\n');
await commands.reduce((promise, command) => {
return promise.then(() => {
return replMod.exec(command);
});
}, Promise.resolve({}));
}