Referenceioio.readfileOn this pageio.readfileread a file's contents as a string. io.readfile(filename) get the individual file lines using [[string.explode|string.explode]]. Parameters filename - a path to a filename. Availability Premake 5.0.0 alpha 12 or later.