adding call graph output and file output instead of to stdout