public bool IsExist(string filename, string path = null !) { if (string.IsNullOrWhiteSpace(path)) { path = UserDirectory.Get(); } var fullpath = PathProvider.Combine(path, filename); return(FileProvider.Exist(fullpath)); }