then just take the files size (before you initiate the download to their browser) and store it in a database table for their account. add to this number every time they make a download, but first do a check to make sure their total download size isn't greater than 5gb