output is file instead of stdout