Now exports to file