Added export to file