Tcl provides several methods to read from and write to files on disk The simplest methods to access a file are via gets and puts When there is a lot of data to be read  however  it is sometimes more efficient to use the read command to load an entire file  and then parse the file into lines with the split command