Checks if the file specification is a file.
# S3 method for default
character string of the pathname to be checked.
TRUE if the file specification is a file, otherwise
FALSE is returned.
This function follows symbolic links (also on Windows) and returns a
value based on the link target (rather than the link itself).