public static bool ExistsFile(this FileSystem FileSystem, String Path) { try { FileSystem.GetFileInfo(Path); return true; } catch { return false; } }