Where are the file names stored on a file system?

The actual file names are stored in the directory file.