File name is a name used to uniquely identify a computer file stored in a file system. A filename may include one or more of these components: directory (or path), file - base name of the file, type (format or extension) - indicates the content type of the file, etc.