change cache to filetype