diff --git a/libraries/joomla/cache/storage/file.php b/libraries/joomla/cache/storage/file.php
index <HASH>..<HASH> 100644
--- a/libraries/joomla/cache/storage/file.php
+++ b/libraries/joomla/cache/storage/file.php
@@ -9,8 +9,6 @@
 
 defined('JPATH_PLATFORM') or die;
 
-jimport('joomla.filesystem.file');
-
 /**
  * File cache storage handler
  *
@@ -202,12 +200,8 @@ class JCacheStorageFile extends JCacheStorage
 	{
 		$result = true;
 		// files older than lifeTime get deleted from cache
-		$files = $this->_filesInFolder($this->_root, '', true, true);
+		$files = $this->_filesInFolder($this->_root, '', true, true, array('.svn', 'CVS','.DS_Store','__MACOSX', 'index.html'));
 		foreach($files As $file) {
-			if('index.html' == JFile::getName($file)) {
-				// Don't delete index.html files
-				continue;
-			}
 			$time = @filemtime($file);
 			if (($time + $this->_lifetime) < $this->_now || empty($time)) {
 				$result |= @unlink($file);
[#<I>] JCacheFIle should not use JFile calls at all