paths that start with "." for example ".git". Also consider adding checks on DirectoryInfo to ensure that cant read/write when DirectoryInfo.GetAttribributes() has FileAttributes.Hidden