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

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