local utils = {} function utils.readfile(command) local file = io.open(command) if not file then return nil end local text = file:read('*all') file:close() return text:gsub("^%s*(.-)%s*$", "%1") end return utils