added two global variables to turn on/off the file metadata header and the stix header (both are turned on by default)