Path to the file. ~ is expanded.
Called once per line with the line text. Return true to continue reading, or false to stop early.
true if the file was read successfully (including early stops requested by the callback), or false if the file could not be opened.
Read a file line-by-line, invoking a callback for each line. Lines are delivered with newline characters stripped. Both
\nand\r\nline endings are handled.