Implemented controller method to get download file sizes.