C# var file = new FileStream(rootpath, System.IO.FileMode.Open)
Solution: Create a new network drive by clicking on Map network drive as shown below
Map the folder which has many nested folders and long file names
After mapping the drive you would be able to access the files by opening the network drive Y