FileInfo correct folder detection