set to functions return value(or number of commands)
Group setToFunction(File file) => setToWidget(file.run(create: true));