file here refers to the buffer, the extension will give a filename as supplied by the invoking App