The format a file's name says, or null when its name says nothing.
The file's name.
The format, or null.
The format a file's name says, or null when its name says nothing.