Redirecting output to both stdout & output file