public static bool HasWithExtension() {
try {
return Directory.GetFiles(FileUtils.GetReplaysDirectory()).Any(file => file.EndsWith(ReplayObject.ReplayExtension));
} catch (Exception e) {
Logging.Error("Can’t get files with extension: " + e);
return false;
}
}
}