Variable FileStat.isFile

True if a file is not a directory

struct FileStat
{
  // ...
  bool isFile ;
  // ...
}