Avoid errors when browsing files