function IdentifyDriver() {
		$types = func_get_args();
		foreach ($types as $type) {
			switch ($type) {
				case 'xml':
				case 'text/xml':
					return 'endnotexml';
				case 'ris':
					return 'ris';
				case 'csv':
				case 'text/csv':
					return 'csv';
				case 'medline':
				case 'nbib':
					return 'medline';
				default: // General file
					if (is_file($type)) {
						if ( function_exists('mime_content_type') && $mime = mime_content_type($type) ) {
							if ($type == 'text/csv')
								return 'csv';
							if ($type == 'application/nbib')
								return 'medline';
						}
						// Still no idea - try internal tests
						$preview = $this->_SlurpPeek($type);
						if (preg_match('/^TY  - /ms', $preview))
							return 'ris';
						if (preg_match('/^PMID- /ms', $preview))
							return 'medline';
					}
			}
		}
	}