Gets a file's type (whether it is a regular file, symlink, etc).
This is different from the file's content type, see get_content_type.
a FileInfo.
a FileType for the given file.