Fixed the access denied issue with hidden files