Piping works
can write to file