do not output content if quiet flag is set
added a pass to extract main content of a document