Protect

Např.:

--common_tickets.xml:LoadFromFile(filename)
local status, errstring = protect(common_tickets.xml.LoadFromFile, common_tickets.xml , filename)