FileType["file"]gives the type of a file, typically , Directory, or None.
$UserBaseDirectory is a directory:
A typical file in the Mathematica program layout:
DirectoryQ FileExtension FileFormat FileExistsQ FileNames FileDate FileByteCount FileHash
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »