'Run all commands in a file.'

def _run_undo_commands(self, filepath):

    with open(filepath, 'r') as csvfile:
        csvreader = csv.reader(csvfile)
        for command in reversed(list(csvreader)):
            try:
                util.run_script(command)
            except errors.SubprocessError:
                logger.error('Unable    to    run    undo    command:    %s', '    '.join(command))
