/// <summary>
/// Opens a <see cref="StreamReader" /> to read text from a file.
/// </summary>
/// <param name="path">The path of the file.</param>
/// <returns>
/// A <see cref="StreamReader" /> that can read from a file.
/// </returns>
/// <exception cref="ArgumentNullException">
/// <paramref name="path" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic).
/// </exception>
public StreamReader OpenText(string path)
{
_ = Requires.NotNullOrWhiteSpace(
path,
nameof(path));
return(FSFile.OpenText(path));
}