I need to check if an xml file exists in the folder.
DirectoryInfo di = new DirectoryInfo(ProcessingDirectory); FileInfo[] TXTFiles = di.GetFiles(\"*.xml\");
if (File.Exists(localUploadDirectory + "/" + fileName)) { `Your code here` }