add logger to file