true if the path is an existing regular file, false
otherwise (including when the path does not exist).
bool isFile() const @safeChecks if the path is a file.
true if the path is an existing regular file, false
otherwise (including when the path does not exist).