From the ext4 documentation:
Directory entry: In an ext4 filesystem, a directory is more or less a flat file that maps an arbitrary byte string (usually ASCII) to an