There is a special file type called auto for which gnuplot will check if the binary file's extension is a quasi-standard extension for a supported format.
Command line keywords may be used to override settings extracted from the file.
The settings from the file override any defaults. See set datafile binary (p. ).