for export file to web browser