Reads a file and returns an array of string lines.
The path to the file.
The regular expression used to split the file into lines. Defaults to /[\n|\r]/.
An array of lines from the file, or null if the file cannot be read.
Reads a file and returns an array of string lines.