Added support to skip samheader in output.