Should work, writes to a file