added an ability to redirect leaks report into a file also enabled use of No/Yes/T/N as parameter value Fixes #3182