public static string GetExactFileLocation(string key, string filelocation) { return CombinePathAndKey( path: Path.Combine(GetFolders(key, filelocation).ToArray()), key: key); }
static public void Remove(string key, string filelocation) { if (!Cache.CacheDic.IsEmpty) { SimpleObject value; Cache.CacheDic.TryRemove(filelocation + key, out value); } File.Delete(Storage.GetExactFileLocation(key, filelocation)); }