Fixed unaccessible folder issue

Fixed the issue with Samba hidden folders and crashing the app