Small fix for file/folder access