assert(io.open("./output.txt", "w")):close() assert(io.open("/output.txt", "w")):close()