public void OpenDir(string path) { var items = fileSystem.GetFilesInDirectory(path); pendingDirectoryItems = new Queue <VirtualFileItem>(); foreach (var item in items) { pendingDirectoryItems.Enqueue(item); } }