Added a run_file function.
Using run_file instead of run_command.