output csv to public/