resource.AddFile check