Add function to clear the file cache
New version