updated download file size helper