local function cat(path) local file = fs.open(shell.resolve(path), "r") local line = file.readLine() while line do print(line) line = file.readLine() end file.close() end for i = 1, select("#", ...) do cat(select(i, ...)) end