Write to a file instead