Added data export to a file functionality. DataViewer can now be retrieved to a file without the user having to handle paging.