added pagination and download file size