Fixed resource.AddFile