Added isDirectory bool to ccFileDir