redirect to file and pylint cli