Modify caching to ignore unreadable files