<?php
$this->filetypes = array(
				array('', 'noext', '', 'generic.png', 'Unknown file type'),
	'aes' => 	array('aes', '', '', 'aes.png', 'Encrypted File'),
	'bat' => 	array('bat', 'txt', '', 'cli.png', 'DOS Batch Script'),
	'sh' => 	array('sh', 'txt', '', 'cli.png', 'Shell Script'),
	'eml' =>	array('eml', 'txt', '', 'generic.png', 'E-mail Message'),
	'dll' =>	array('dll', '', '', 'generic.png', 'Dynamic Link Library'),
	'rpm' =>	array('rpm', '', '', 'generic.png', 'Linux Package File'),
	'ace' => 	array('ace', '', '', 'generic.png', 'Archive'),
	'arj' => 	array('arj', '', '', 'generic.png', 'Archive'),
	'zip' => 	array('zip', 'arch', '', 'archive.png', 'Zip Archive'),
	'rar' => 	array('rar', '', '', 'archive.png', 'Rar Archive'),
	'tar' => 	array('tar', 'arch', 'application/x-tar', 'archive.png', 'Tar Archive'),
	'tar.gz' => array('tar.gz', 'arch', 'application/x-gzip', 'archive.png', 'Compressed Tar Archive'),
	'taz' => 	array('taz', '', '', 'archive.png', 'Archive'),
	'tbz' => 	array('tbz', 'arch', '', 'archive.png', 'Archive'),
	'tbz2' => 	array('tbz2', 'arch', '', 'archive.png', 'Archive'),
	'tgz' => 	array('tgz', 'arch', 'application/x-gzip', 'archive.png', 'Compressed Tar Archive'),
	'cab' => 	array('cab', '', '', 'generic.png', 'Archive'),
	'bz' => 	array('bz', '', '', 'archive.png', 'Bzip Archive'),
	'bz2' => 	array('bz2', '', 'application/x-bzip', 'archive.png', 'Bzip 2 Archive'),
	'tar.bz2' => array('tar.bz2', 'arch', 'application/x-bzip', 'archive.png', 'Compressed Tar Archive'),
	'jar' => 	array('jar', 'arch', '', 'generic.png', 'Archive'),
	'gzip' => 	array('gzip', '', 'application/x-gzip', 'archive.png', 'Gzip Compressed Archive'),
	'gz' => 	array('gz', 'arch', 'application/x-gzip', 'archive.png', 'Gzip Compressed Archive'),
	'class' => 	array('class', 'txt', '', 'class.png', 'Java Application File'),
	'h' =>		array('h', 'txt', '', 'generic.png', 'Header File'),
	'uu' => 	array('uu', '', '', 'generic.png', 'Archive'),
	'uue' => 	array('uue', '', '', 'generic.png', 'Archive'),
	'war' => 	array('war', '', '', 'generic.png', 'Archive'),
	'wsz' => 	array('wsz', '', '', 'generic.png', 'Archive'),
	'xxe' => 	array('xxe', '', '', 'generic.png', 'Archive'),
	'z00' => 	array('z00', '', '', 'generic.png', 'Archive'),
	'jpg' => 	array('jpg', 'img', 'image/jpeg', 'image.png', 'Jpeg Image'),
	'jpeg' => 	array('jpeg', 'img', 'image/jpeg', 'image.png', 'Jpeg Image'),
	'gif' => 	array('gif', 'img', 'image/gif', 'image.png', 'GIF Image'),
	'png' => 	array('png', 'img', 'image/png', 'image.png', 'PNG Image'),
	'svg' => 	array('svg', 'txt', 'image/svg+xml', 'image.png', 'Scalable Vector Graphics File'),
	'tga' => 	array('tga', '', '', 'generic.png', 'Targe Image'),
	'tif' => 	array('tif', '', '', 'image.png', 'Tag Image File Format'),
	'bmp' => 	array('bmp', '', 'image/bmp', 'image.png', 'Windows Bitmap Image'),
	'jpe' => 	array('jpe', 'img', 'image/jpeg', 'image.png', 'Jpeg Image'),
	'jif' => 	array('jif', '', 'image/jpeg', 'generic.png', 'Jpeg Image'),
	'pcd' => 	array('pcd', '', '', 'generic.png', 'Kodak PhotoCD'),
	'pcx' => 	array('pcx', '', '', 'generic.png', 'PCX Image'),
	'pic' => 	array('pic', '', '', 'generic.png', 'PIC Image'),
	'pix' => 	array('pix', '', '', 'generic.png', 'PIX Image'),
	'psd' => 	array('psd', '', 'application/psd ', 'psd.png', 'Adobe Photoshop Image'),
	'tiff' => 	array('tiff', '', 'image/tiff', 'image.png', 'Tag Image File Format'),
	'cdr' => 	array('cdr', '', '', 'generic.png', 'Corel Draw Image'),
	'xar' => 	array('xar', '', '', 'generic.png', ' Xara Image'),
	'mpg' => 	array('mpg', 'wvideo', 'video/mpeg', 'video.png', 'MPEG Video'),
	'mpe' => 	array('mpe', '', 'video/mpeg', 'video.png', 'Mpeg Video'),
	'mpeg' => 	array('mpeg', '', 'video/mpeg', 'video.png', 'Mpeg Video'),
	'm2v' => 	array('m2v', '', '', 'video.png', 'Video Only File'),
	'avi' => 	array('avi', '', 'video/x-msvideo', 'video.png', 'Audio Video Interleave'),
	'divx' => 	array('divx', '', 'video/vnd.divx', 'video.png', 'DivX-Encoded Movie'),
	'mov' => 	array('mov', 'wvideo', 'video/quicktime', 'video.png', 'Apple QuickTime Movie'),
	'3gp' => 	array('3gp', '', 'video/3gpp', 'video.png', 'Mobile Video'),
	'3g2' => 	array('3g2', '', '', 'video.png', 'Mobile Video'),
	'asf' => 	array('asf', '', '', 'video.png', 'Windows Media Container'),
	'wmv' => 	array('wmv', 'wvideo', '', 'video.png', 'Windows Media Video'),
	'm4a' => 	array('mpa', 'mp3', 'audio/mp4', 'audio.png', 'Copyright-Protected Audio'),
	'm4v' => 	array('mp4', '', 'video/mp4', 'video.png', 'Copyright-Protected Video'),
	'mkv' => 	array('mkv', '', '', 'video.png', 'Matroska Video'),
	'mp3' => 	array('mp3', '', 'audio/mpeg', 'audio.png', 'MP3 Audio'),
	'flac' => 	array('flac', '', 'audio/flac', 'audio2.png', 'Lossless Audio'),
	'mp4' => 	array('mp4', 'wvideo', 'video/mp4', 'video.png', 'MPEG-4 Video'),
	'm3u' => 	array('m3u', 'mp3', 'audio/x-mpegurl', 'audio2.png', 'Audio Playlist'),
	'm3u8' => 	array('m3u8', 'mp3', 'audio/x-mpegurl', 'audio2.png', 'Audio Playlist'),
	'pls' => 	array('pls', 'mp3', 'audio/x-scpls', 'audio2.png', 'Audio Playlist'),
	'ogg' => 	array('ogg', 'mp3', 'audio/ogg', 'audio.png', 'Codec Compressed Multimedia File'),
	'mid' => 	array('mid', '', 'audio/midi', 'audio.png', 'Midi Audio'),
	'wav' => 	array('wav', 'mp3', 'audio/x-wav', 'audio.png', 'Wave Audio'),
	'txt' => 	array('txt', 'txt', 'text/plain', 'txt.png', 'Text Document'),
	'readme' => array('txt', 'txt', 'text/plain', 'txt.png', 'Text Document'),
	'nfo' => 	array('nfo', 'txt', 'text/plain', 'txt.png', 'Info Text Document'),
'htaccess' => 	array('htaccess', 'txt', 'text/plain', 'txt.png', 'Apache Script File'),
	'url' => 	array('url', '', 'text/url', 'ml.png', 'Web Shortcut'),
	'htm' => 	array('htm', 'txt', 'text/html', 'ml.png', 'HTML Document'),
	'html' => 	array('html', 'txt', 'text/html', 'html.png', 'HTML Document'),
	'cfm' => 	array('cfm', 'txt', 'text/html', 'txt.png', 'Cold Fusion Markup'),
	'wml' => 	array('wml', 'txt', 'text/vnd.wap.wml', 'ml.png', 'Web Document'),
	'htt' => 	array('htt', 'txt', '', 'ml.png', 'HTML Template'),
	'inc' => 	array('inc', 'txt', 'text/plain', 'txt.png', 'Include File'),
	'vbs' => 	array('vbs', 'txt', 'text/plain', 'txt.png', 'Visual Basic Script'),
	'js' => 	array('js', 'txt', 'application/x-javascript', 'txt.png', 'JavaScript File'),
	'json' => 	array('json', 'txt', 'application/json', 'txt.png', 'JavaScript Object Notation File'),
	'java' => 	array('java', 'txt', '', 'class.png', 'Java Application File'),
	'jsp' => 	array('3p', 'txt', '', 'txt.png', 'JSP Script'),
	'jspx' => 	array('jspx', 'txt', '', 'txt.png', 'JSP Script'),
	'asp' => 	array('asp', 'txt', 'text/plain', 'txt.png', 'Active Server Pages Script'),
	'aspx' => 	array('aspx', 'txt', 'text/plain', 'txt.png', 'ASP.NET Script'),
	'ashx' => 	array('ashx', 'txt', 'text/plain', 'txt.png', 'ASP.NET Web Handler'),
	'asmx' => 	array('asmx', 'txt', 'text/plain', 'txt.png', 'ASP.NET Webservices Source'),
	'axd' => 	array('axd', 'txt', 'text/plain', 'txt.png', 'ASP.NET Application File'),
	'pl' => 	array('pl', 'txt', 'text/plain', 'txt.png', 'Perl Script'),
	'cgi' => 	array('cgi', 'txt', 'text/plain', 'txt.png', 'Web Script'),
	'php' => 	array('php', 'txt', 'text/plain', 'php.png', 'PHP Script'),
	'php3' => 	array('php3', 'txt', 'text/plain', 'php.png', 'PHP Script'),
	'php4' => 	array('php4', 'txt', 'text/plain', 'php.png', 'PHP Script'),
	'py' => 	array('py', 'txt', 'text/plain', 'txt.png', 'Pyton Script'),
	'rb' => 	array('rb', 'txt', 'text/plain', 'txt.png', 'Ruby Script'),
	'rhtml' => 	array('rhtml', 'txt', 'text/plain', 'ml.png', 'Ruby Script'),
	'erb' => 	array('erb', 'txt', 'text/plain', 'generic.png', 'Ruby Script'),
	'pxp' => 	array('pxp', 'txt', '', 'txt.png', 'Autodesk 3D Studio File'),
	'xml' => 	array('xml', 'txt', 'application/xml', 'ml.png', 'XML Web Document'),
	'xhtml' => 	array('xhtml', 'txt', 'application/xhtml+xml', 'ml.png', 'XHTML Document'),
	'sxw' => 	array('sxw', 'office', 'application/vnd.sun.xml.writer', 'txt.png', 'OpenOffice Text Document'),
	'sass' => 	array('sass', 'txt', 'text/plain', 'txt.png', 'Cascading Style Sheet'),
	'css' => 	array('css', 'txt', 'text/plain', 'txt.png', 'Syntactically Awesome Stylesheets'),
	'swf' => 	array('swf', 'wvideo', 'application/x-shockwave-flash', 'video.png', 'Flash Media File'),
	'fla' => 	array('fla', '', '', 'generic.png', 'Flash Source File'),
	'tpl' => 	array('tpl', 'txt', 'text/plain', 'txt.png', 'Template File'),
	'sql' => 	array('sql', 'txt', 'text/plain', 'txt.png', 'SQL Database dump'),
	'myd' => 	array('myd', '', '', 'generic.png', 'MySQL Database File'),
	'myi' => 	array('myi', '', '', 'generic.png', 'MySQL Database File'),
	'csv' => 	array('csv', 'office', 'text/plain', 'xls.png', 'CSV Text Document'),
	'sub' => 	array('sub', 'txt', 'text/plain', 'txt.png', 'Movie Subtitle'),
	'srt' => 	array('srt', 'txt', 'text/plain', 'txt.png', 'Movie Subtitle'),
	'doc' => 	array('doc', 'office', 'application/msword', 'doc.png', 'Word Document'),
	'rtf' => 	array('rtf', 'office', 'text/rtf ', 'rtf.png', 'Word Document'),
	'odt' => 	array('odt', 'office', 'application/vnd.oasis.opendocument.text ', 'textdoc.png', 'OpenDocument Text'),
	'fodt' => 	array('fodt', 'office', 'application/vnd.oasis.opendocument.text ', 'textdoc.png', 'OpenDocument Text'),
	'ods' => 	array('ods', 'office', 'application/vnd.oasis.opendocument.spreadsheet', 'ssheet.png', 'OpenDocument Spreadsheet'),
	'fods' => 	array('fods', 'office', 'application/vnd.oasis.opendocument.spreadsheet', 'ssheet.png', 'OpenDocument Spreadsheet'),
	'sxc' => 	array('sxc', 'office', 'application/vnd.sun.xml.calc', 'ssheet.png', 'OpenOffice Spreadsheet'),
	'sxi' => 	array('sxi', 'office', 'application/vnd.sun.xml.impress', 'presentation.png', 'OpenOffice Presentation'),
	'wri' => 	array('wri', '', 'application/msword', 'doc.png', 'Word Document'),
	'xls' => 	array('xls', 'office', 'application/vnd.ms-excel', 'xls.png', 'Excel Document'),
	'pps' => 	array('pps', 'office', 'application/vnd.ms-pps', 'presentation.png', 'Power Point Document'),
	'ppt' => 	array('ppt', 'office', 'application/vnd.ms-powerpoint', 'presentation.png', 'Power Point Document'),
	'odp' => 	array('odp', 'office', 'application/vnd.oasis.opendocument.presentation', 'presentation.png', 'OpenDocument Presentation'),
	'fodp' => 	array('fodp', 'office', 'application/vnd.oasis.opendocument.presentation', 'presentation.png', 'OpenDocument Presentation'),
	'qxd' => 	array('qxd', '', '', 'generic.png', 'Quark Express Document'),
	'ai' =>		array('ai', '', '', 'ai.png', 'Adobe Illustrator File'),
	'pdf' => 	array('pdf', '', 'application/pdf', 'pdf.png', 'Acrobat Reader Document'),
	'bak' => 	array('bak', '', '', 'generic.png', 'Backup File'),
	'tmp' => 	array('tmp', '', '', 'generic.png', 'Temporary File'),
	'temp' => 	array('temp', '', '', 'generic.png', 'Temporary File'),
	'log' => 	array('log', 'txt', 'text/plain', 'txt.png', 'Log file'),
	'ini' => 	array('ini', 'txt', 'text/plain', 'txt.png', 'Configuration File'),
	'ttf' => 	array('ttf', '', 'application/vnd.ms-opentype', 'generic.png', 'OpenType Font'),
	'otf' => 	array('otf', '', 'application/vnd.ms-opentype', 'generic.png', 'OpenType Font'),
	'exe' => 	array('exe', 'bin', '', 'exe.png', 'Windows Application'),
	'hlp' => 	array('hlp', 'bin', '', 'generic.png', 'Window Help File'),
	'eps' => 	array('eps', '', '', 'generic.png', 'Encapsulated PostScript'),
	'docx' => 	array('docx', 'office', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'doc.png', 'Word Document'),
	'xlsx' => 	array('xlsx', 'office', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xls.png', 'Excel Document'),
	'pptx' => 	array('pptx', 'office', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'presentation.png', 'Power Point Document'),
	'wma' => 	array('wma', '', 'audio/x-ms-wma', 'audio.png', 'Windows Media Audio'),
	'iso' => 	array('iso', '', '', 'generic.png', 'Disk Image File'),
	'flv' => 	array('flv', 'wvideo', '', 'video.png', 'Flash Video File'),
	'dwf' => 	array('dwf', '', 'model/vnd.dwf', 'autodesk.png', 'Autodesk Design Web Format'),
	'kml' => 	array('dmg', '', 'application/earthviewer', 'ml.png', 'Keyhole Markup Language File'),
	'dwg' => 	array('dwg', '', 'application/dwg', 'autodesk.png', 'AutoCAD Drawing Database File'),
	'dmg' => 	array('dmg', '', 'application/x-apple-diskimage', 'autodesk.png', 'Mac OS X Disk Image'),
	'ds_store' => array('ds_store', '', '', 'generic.png', 'Mac OS X Folder Settings File'),
	'upload' => array('upload', '', '', 'upload.png', 'Temporary File Under Upload')
);