Just a note about filename extenstions, in unix/linux (and therefore the latest MacOS) filename extensions are meaningless in most situations. The tradition is to analyse the file for its "magic number" to determine a file's type. If this yields no results then the OS might opt to use the extension to imply a type if it sees fit.