check file_types for cache