To redirect or save an error into file