Refactor: Machine execute text and execute file, now using context