public function checkFiles($options = "-m") {

        try {
            $output = $this->cmd(sprintf('status %s', $options));
            if (strlen($output['output']) == 0) {
                $output['output'] = "No files modified.";
                $output['modified'] = false;
            } else {
                $output['modified'] = true;
            }
            return $output;
        } catch (Exception $ex) {
            return $ex;
        }
    }