Non-invocable member 'FileInfo' cannot be used like a method

To get latest file from folder tried using the below code:

String.Join("", Directory.GetFiles(downloadfolder,"*.xls",SearchOption.AllDirectories).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Take(1) )

But this gives error as “Nom-invocable member Function cannot be used, Non-invocable member FileInfo cannot be used”

image

Need some help to fix this error or any other solution available to get latest file from folder.

Is System.IO added to the namespace under the import Panel (Close to the variable Panel)