added param to show results in same file