# File lib/FileCache.rb, line 26
  def cache_name_for_native_file(native_file,extension)
    image=native_file.file_system_image
    index=image.files.index(native_file)
    "#{native_file_cache_dir}/#{Digest::MD5.hexdigest(image.filename)}-#{index}.#{extension}"
  end