Let us consider the file /home/richard/test.src
| Component | Name | 
|---|---|
| /home/richard/test.src | Absolute (file)path | 
| richard/test.src | Relative (file)path | 
| /home/richard/ | Absolute (directory) path | 
| ./richard/ | Relative (directory) path | 
| richard | Directory | 
| test.src | Filename | 
A path is a location in a directory structure. Filenames only include information about the name of the file. Directories only include information about the name of the directory. Filepaths are paths that specify the location of a file.