fn run_file_contents(file_contents: String) -> Result<()>
Main body of run_single_file separated for testing
run_single_file